Console - Reading Assignment

1/. What is the console used for.?

The console can be used for logging information,as part of the JavaScript development process.

2/. How do you open the console in Google Chrome.?

Navigate top right there are 3 dots, click on them,go to MORE tools,then DEVELOPERS tools…!

3/. What does console.log function do.?

It provides you with a space to try out JavaScript code in Real time,by letting you use an environment similar to a Terminal Shell Interface.!

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

By taking a index.html file to understand how to use the the console to modify it / by saving the HTML file & locking it into the browser of your choice.!

1 Like
  1. It is used for writing, managing, and monitoring JavaScript on demand

  2. from the menu you select MORE TOOLS and then DEVELOPER TOOLS. After this select CONSOLE in the panel that opens up.

3.it logs to the javascript console

4.through the DOM, double clicking the selected item and make changes

1 Like

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. The Console provides you with the ability to write, manage, and monitor JavaScript on demand.

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. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already:

What does console.log function do?
The console.log() is a function in JavaScript which 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. Syntax: console.log(A); Parameters: It accepts a parameter which can be an array, an object or any message.

How can you change the contents of an HTML page through the console?
The Console provides you with a space to experiment with modifying HTML pages, but it is important to keep in mind that you’re not changing the HTML document when you do things on the Console. In this case, once you reload the page it will return to a blank document.

1 Like
  1. What is the console used for?
    A: It is used to log information as part of the JavaScript development process, as well as to allow you to interact with a web page by carrying out JavaScript Expressions with the pages context.
  2. How do you open the Console in Google Chrome?
    A: You can go to the top right corner of the Chrome Browser and select menu (signified by three vertical dots) select ‘More Tools’ then ‘Developer Tools’. Shortcut (Control, Shift, J)
  3. What does console.log function do?
    A: It lets you write/type JavaScript code to experiment on how it interacts with HTML document.
  4. How can you change the contents of an HTML page through the console?
    A: Through the DOM (Document Object Model) using JaveScript.
1 Like
  1. The console is used for writing, editing, and managing the Javascript on a webpage.
  2. To open the console in Google Chrome, you can use the menu at the top right corner of the browser and select “more tools.” From there, you can select “developer tools”, which will open a panel in which “console” is one of the tabs to click on.
  3. The console.log function allows you to work with Javascript within the console itself.
  4. To change the contents of an HTML page through the console, you can load an HTML file into the browser, and then open the console to use Javascript to modify that page.
1 Like

1.JavaScript console=executes javascript commands within the context of a webpage and or log information
2.Go to Customize and control Google Chrome=>More Tools=>Developer Tools
3.Logs the Information in Javascript Console= value output
4.In the elements tab by editing it

1 Like

1 What is the console used for?
It is used to log information as part of the JS development tools. It allows you to interact with the web page by carrying out JS expressions.
The console provides tools to write, manage, and monitor JS on demand.
2 How do you open the Console in Google Chrome?
To open JS console in chrome, navigate to the menu at the top-right of your browser window signified by a three vertical dots in a row. Alternately you can use: Ctrl+Shift+K for windows.
3 What does console.log function do?
Console.log is used to print the output to the console.
4 How can you change the contents of an HTML page through the console?
With an HTML DOM, JavaScript can access and change all the elements of an HTML documents.

1 Like
  1. It is used for developers so that they can interact with a real-time test environment

  2. Using the ‘three dots’ menu in the right upper corner and going to extensions, developer tools

  3. It writes a log as a response in the console menu for the function you choose (for example give back the result of the calculation you put in)

  4. The most easy way is to go in the ‘elements’ Tab and you can edit the contents there

1 Like

What is the console used for?
The Console provides you with the ability to write, manage, and monitor JavaScript on demand.

How do you open the Console in Google Chrome?

  • click the three door on the top right.
  • click on MORE TOOLS
  • click on developer tools

What does console.log function do?
It will give you the possibility to run some test for changed on your website.

How can you change the contents of an HTML page through the console?
The Console provides you with a space to experiment with modifying HTML pages, but it is important to keep in mind that you’re not changing the HTML document when you do things on the Console. In this case, once you reload the page it will return to a blank document.

1 Like
  1. manipulating and writing java script in the browser (you can also mess with the syling and html )
  2. you can go under tool and click on dev options and it will normally open on the side
  3. it records what you put in that on the console log where it is not visible to user only person looking at con log
  4. you can inspect elements to chose specific lines of html or go through the code and change things if you are feeling adventurous.
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 web page by carrying out JavaScript expressions within the page’s context.

  2. You navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, you select More Tools then Developer Tools.

  3. console.log function is to write a message to the console to debug an output, for example not letting alerts to pop up in websites.

  4. You can change the html page by opening he console and begin working with JavaScript to modify the page.

1 Like

1. What is the console used for?

  • A console enables you to write, manage, and monitor javascript on demand. Console also allows you to interact with a webpage by carring out javascript expression within the page context.

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

  • command + option + j (on iMac)

3. What does console.log function do?

  • To print an alert for ex. “Hello World” string, through typing in the console, we can use "console.log (“Hello World”);

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

  • By opening console we can modify the existing HTML,CSS file or by coping a new blank HTML and saving it, we can modify or can make changes.
1 Like
  1. The console is provides you the ability to write, manage and monitor JavaScript on demand.

  2. Go to the upper right hand corner of the screen where the 3 bars located. Move your mouse over them and click. The drop down bow will appear and move cursor down to “More tools”. Next box should appear. Scroll down and select "Developer tools.

  3. It stops the pop up alerts by logging it to the Console.

  4. The Console gives you the space to modify HTML but it does not give you the ability to to change. Once you reload the page it will return to a blank document.

1 Like
  1. The console provides us with the ability to write, manage, and monitor Javascript when needed.

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

  3. The console.log allows you to work with Javascript within the console. It gives you an output.

  4. a. Log a DOM (Document Object Model) node to the console.
    b. Right click on it.
    c. Select Edit as HTML or Edit Text.
    d. The DOM is updated on the page and also in the Elements Panel.

1 Like
  1. The console is for executing JavaScript expressions and logging to

  2. Menu - More Tools - Developer Tools

  3. console.log writes to the console

  4. The console provides access to the Document Object Model, which provides access to the HTML elements as a hierarchical structure, so the DOM can be inspected or edited to change the contents of the page

1 Like
  1. The console is used to write, manage and monitor JavaScript.

  2. To open the console in Google Chrome, click on the three vertical dots at the top right corner of the browser window. From the drop-down menu select “More Tools” then “Developer Tools”. Finally, click on “Console” along the top menu bar.

  3. The “console.log” function displays variables or messages onto the console rather than the web-page.

  4. To change the contents of an HTML page through the console, load the HTML file onto a browser, then open console and use JavaScript commands to create changes.

1 Like
  1. The console is for experimenting with, working with code to see how it works within the webpage.

  2. Ctrl+shift+J

  3. Console.log allows you to see the output in the console.

  4. Since I’m using google chrome, I’d go into the ‘Element’ section.

1 Like

1. The console can be used to write, manage and monitor JS in your browser.

  1. Ctrl+Shift+i (Windows)
  2. console.log prints JS result in the console instead of a popup alert
  3. You can change the complete appearance of a website by injecting Javascript
1 Like
  1. It is use to log information on JavaScript to process and interact with web page according to the context.
  2. First you click on the 3 dots icon on the right corner, go to more tools and click on developers tools.
  3. The console.log function help to compute any data you put in and the output will be query for you on demand.
  4. You can change the HTML content through using script tags, my funtion and document.getElementById.innerHTML.
1 Like
  • You can use commands in real time to test or debug the webpage
  • F12
  • It logs information in the console
  • By using functions you would write the code with, now you just can see it in real time.
2 Likes