Console - Reading Assignment

  1. Console is used for writing, editing and testing code.
  2. ctrl+shif+i on brave browser.
  3. Logs info into console and check results.
  4. Doc element.
1 Like
  1. Testing, debugging and managing JScript directly on the web browser
  2. Control + shift + I or J
  3. console.log writes a message to the Log
  4. by using the document command
1 Like

1- manage and monitor java script on demand within the webpage.

2-menw, more tools, then developer tools

3- display information given on console page

4-through the DOM i can then use the elements tab to change and modify content.

1 Like
  1. What is the console used for?
    The Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions within the page’s context. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    To open the JavaScript Console in Chrome, you can navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, you can select More Tools then Developer Tools.

  3. What does console.log function do?
    Rather than have pop-up alerts that we need to continue to click out of, we can work with JavaScript by logging it to the Console with console.log.

  4. How can you change the contents of an HTML page through the console?
    If you save the HTML file, and load it into the browser of your choice. You can then open up the Console and begin working with JavaScript to modify the page.

2 Likes
  1. What is the console used for? Is used for coordinate with javascript. Its providing you with the ability to write, manage or monitor javascript.
  2. How do you open the Console in Google Chrome? By clicking to open developer tools.
  3. What does console.log function do? It provide us to try out javascript code in real time by letting youuse an environment similar to terminal shell interface.
  4. How can you change the contents of an HTML page through the console? We can edit HTML content double clicking the tag, element, or content we wish to edit in the elements tab and entering new data.
1 Like
  1. The console is used to log information that allows you to interact with a webpage, also the ability to write, manage, and monitor JavaScript on demand.

  2. To open the console in Chrome, you can navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, you can select More Tools than Developer Tools.

  3. It allows you to work in the console without having to continuously respond to the events on the webpage that you are coding.

  4. By using the console you can interact with the htlm css or existing javascript of a dynamic webpage all within the console, but it you reload the page or exit out it will render it back to its original state.

1 Like
  1. Is used for interact with website and execute JavaScript commands
  2. e.g. ctrl+shift+J
  3. Is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user.
  4. Right-click on any webpage, click Inspect , and we’ll see the innards of that site: its source code, the images and CSS that form its design, the fonts and icons it uses, the Javascript code that powers animations, and more.
1 Like
  1. The consoles allows us to interact with the Javascript code on demand within the open browser page. You can monitor, test or log information using the “terminal shell” it provides.

  2. How you can open the console in Google chrome is by simply going to the menu at the top right of the browser, select:

    More tools

    then, select

    Developer Tools

    This opens up a panel that allows you to click on:

    CONSOLE

    along top menu bar to interact with the Javascript console.
Practicing HTML coding ^^^
  1. The console.log function is a function that allows you to interact with the Javascript code in the console without it printing to the website -in some cases, opening up pop up windows that contain the “outputs” from tests. You can bypass the opening/closing of the pop up windows every time you test something by simply using the console.log function.

  2. You can change the contents of an HTML page through the console by opening up the inspector(firefox) or Element(chrome) tab and seeing the HTML content of the page. You can just double click a selected element and modify it!

1 Like
  1. What is the console used for?
    Console is used to write, manage, experiment and test JavaScript expression and to monitor, inspect behaviour of the web page in real-time and on demands.

  2. How do you open the Console in Google Chrome?
    a. Click on the right top corner of the vertical dots, select More Tools -> Developer Tools option.
    b. Press Ctrl + Shift+ I or F12 on the keyboard.
    c. Right click on a web page and select Inspect option from the context menu and click on the console tab.

  3. What does console.log function do?
    Display output results to in the console for debugging, logging and testing of JavaScript code behaviour.

  4. How can you change the contents of an HTML page through the console?
    Use HTML DOM element’s “innerHTML” or “innerText” as well as “src” (for image) properties with JavaScript to access and change the contents in the console.

1 Like
  1. The console is used for logging information as part of the Java Script development process and also to interaction between a web page and the programmer.
  2. Menu - More tools - Developer tools then click Console or CTRL+SHIFT+J
  3. Console.log logs information to the Console
    4.By using the document element in the Console
1 Like

1:the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

2:To open the JavaScript Console in Chrome, you can navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, you can select More Tools than Developer Tools. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console.

3:it opens a window for the website you’re on. This is where commands can be typed.

4:By going to the console tab and by executing JavaScript document commands at the prompt.

1 Like

The console is a tool used for developing. You can use the console to write javascript, check for bugs, test stuff… its quite useful.

You go to the tool tab and click on the developer tools section. Then you click console.

Console log writes something to the console.

Using the DOM

1 Like
  1. What is the console used for?
    The Console is used to interact with a web page, carrying out JavaScript expressions, to build work with JavaScript, among other tools
  2. How do you open the Console in Google Chrome?
    It might be opened pressing either Ctrl+Shift+J or accessing via the upper right menu > more tools > developer tools
  3. What does console.log function do?
    It allows to make math operations, render text in the page.
  4. How can you change the contents of an HTML page through the console?
    We can upload the HTML file in the browser, open up the console and then proceed to make changes
1 Like
  1. What is the console used for?

The console is used to store logs of information in JavaScript for its development, as well as allowing you to interact with a web page by carrying out expressions that the page has outlined. Basically used to store data that runs JavaScript commands. You can run, edit, and monitor JavaScript through the console.

  1. How do you open the Console in Google Chrome?

You open the console in Google Chrome by clicking the three horizontal dots at the top right of the screen, next hovering the More Tools tab, next clicking Developer Tools tab. After that you will see a Toolbar labeled from left to right Elements/ Console/Sources/Network/Performance/>>. Voila! You can also utilize the shortcut CTRL+SHIFT+J in windows, or COMMAND+OPTION+J in macOS.

  1. What does console.log function do?

You can utilize the console.log function to type JavaScript code. The console log basically shows you what certain lines of code will do when applied to a specific HTML.

  1. How can you change the contents of an HTML page through the console?

Typing console.log with specific commands in our console allows you to change different values in our HTML.

2 Likes
  1. The ability to write, manage and monitor JavaScript on demand.
  2. Navigate to menu top right of browser (three vertical dots), more tools, dev tools.
  3. The JavaScript Console provides test JavaScript in real time in an environment similar to a terminal shell interface.
  4. By using Dom - document object model.
2 Likes
  1. You can use console to develop, test, and run Java directly in the browser.
  2. You use the three dots, select more tools, developer tools.
  3. Console.log is for logging information in the console
  4. You can use document. then whatever your going to change.
1 Like

. What is the console used for?

Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a web page

How do you open the Console in Google Chrome?

More tools - Deve Tools - and done :slight_smile:

What does console.log function do?

They log Javasc to the console

How can you change the contents of an HTML page through the console?

change the contents of an HTML page through the cinsole

1 Like
  1. You can live test JavaScript code on an existing website
  2. F12
  3. Outputs commands
  4. You can add or modify elements on the page
1 Like
  1. What is the console used for?
    The console is used for editing and experimenting programming with JS in real time.
  2. How do you open the Console in Google Chrome?
    Well, if you’re using a laptop or desktop in order to open the console one must click on the menu: other tools: then> developer tools> console.
    From smartphone: create a bookmark and add url:
    javascript:(function () { var script = document.createElement(‘script’); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
    After saving: Search on browser and look for the your previously saved bookmark
    Gangster style
  3. What does console.log function do?
    console.log allows you to log data into the console
  4. How can you change the contents of an HTML page through the console?
    Loading you’re html into the tab next to console: element, allows you to do changes.
1 Like
  1. The Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a webpage by carrying out JavaScript expressions within the page context.

  2. In chrome you go to Menu–>
    Moretools–>
    Developer tools–>

3.Console.log function can Log information to the console, it can also do complicated math functions and can work on multiple lines to get a result.

  1. you can edit the contents of an HTML page through the console by using javascript to add things to the page. BUT When you refresh or reload the page all the changes you made will be gone and it will be back to the original version.

document.body.style.backgroundColor = “lightblue”;
imputing the above into the console would make the background temporarily lightbue,

1 Like