Console - Reading Assignment

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 to interact with a web page by carrying out JavaScript expressions within the page’s context. The Console provides allow us 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, we need to navigate to the menu at the top-right of the browser window an after that select More Tools then Developer Tools.
We can use also keyboard shortcut: CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS

3. What does console.log function do?
console.log allows us to print data in the JaveScript Console

4. How can you change the contents of an HTML page through the console?
The console allow us to experiment with JavaScript code of existing HTML, CSS, and JavaScript.

2 Likes
  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. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. Select Three Dots > More Tools > Developer Tools. Or, Command + Option + J.
  3. 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.
  4. By altering the code using the DOM/Document-Object-Model (specifically, Elements within the Chrome browser).
2 Likes
  1. What is the console used for?
    Console provides a place to test and try your Java Script Code in real time.

  2. How do you open the Console in Google Chrome?
    Menu - More Tools - Developer Tools

  3. What does console.log function do?
    This allows the programmer to log data to the console

  4. How can you change the contents of an HTML page through the console?
    You can change the html of a website by accessing the DOM or Document Object Model and entering the Java Script that you would like to work with.

1 Like
  1. What is the console used for?
    To key in commands and print output

  2. How do you open the Console in Google Chrome?
    Press Ctrl+Shift+J in windows

  3. What does console.log function do?
    display output within the console box

  4. How can you change the contents of an HTML page through the console?
    Using document command or changing it via the element tab

1 Like
  1. It is used to write, manage and monitor JavaScript on demand.
  2. Click three vertical dots, select more tools and then developer tools. Once a panel has opened select console on the top.
  3. It allows us to log information in the console.
  4. You can change it using DOM and entering the JavaScript that you like to work with.
1 Like
  1. Console allows to test and monitor javascript in the webpage
  2. Option + command + C
  3. Console log logs values to the javascript console
  4. Document element
1 Like
  1. The console allows you to work with JavaScript, to log information as part of the development process and to interact with a web page by carrying out JavaScript expressions within the context of the page. It allows you to write, monitor and manage Javascript on demand

  2. In Chrome you select the 3 dots on top right pf page >more tools>developer tools>console

  3. console.log allows you to log information in the JavaScript console including outputs of specified functions.

  4. You can modify the contents of an html page through the console however it only ca=hanges the local page and once you reload the page the changes will be lost. It does however allow you to experiment with JavaScript on the page but you need to save any instructions that work somewhere else if you want to use them in the future.

1 Like
  1. What is the console used for?
    To both log and test page as JS being developed allowing one to write, manage and monitor the code.

  2. How do you open the Console in Google Chrome?
    Ctrl+Shift+J

  3. What does console.log function do?
    Prints to screen the data

  4. How can you change the contents of an HTML page through the console?
    After entering changes under console, save the webpage

1 Like

1.) In this context the console is used to write, manage, and monitor javascript.
2.) You can open the console in Chrome browsers by pressing CTRL + Shift + I.
3.) The console.log function outputs an input, such as a string of letters or the value of a variable.
4.) You can change the contents of an HTML page by using the “document” command in the console.

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?
    Menu bar, then more tools, then developer tools, and then console. Or ctrl + shift + J

What does console.log function do?
It captures any output as text written to the console.

  • How can you change the contents of an HTML page through the console?
    By using JavaScript to insert tags, data and elements temporarily into the page.
1 Like

What is the console used for?
Is used to write, manage and monitor JaveScript. It part of the JavaScript development tool set required and it assists by interacting with browser and page to write and test coding.

How do you open the Console in Google Chrome?
use control + shift I

What does console.log function do?
it displays text or content on the web page

How can you change the contents of an HTML page through the console?
You type in the JaveScript code you require into the console and hit the enter key and or you can use the DOM (elements tab in the chrome console) to view and change element parameter.

1 Like
  1. The console can be used temporarly change (log) a HTML page by using Javascript commands.
  2. On windows: ctrl + shift + j
  3. It can log information into the console
  4. The contents of a HTML page can be changed by double clicking on the part of the element you want to change in DOM.
1 Like
  1. The Console is used for a developer to write code within the browser environment.
  2. You can open the Console in Chrome by clicking the 3 dots, then More Tools then Developer Tools.
  3. Console.log allows us to work with JavaScript within the Console.
  4. By using the document.body.innerHTML function in the heading section.
1 Like
  1. Console is basically a playground for testing the code.
  2. Control + Shift + J
  3. console.log function logs info into the console.
  4. We can do it by adding elements, styles and so on in JavaScript to the console. Although it is not permanent.
1 Like

1 The console is used for 2 things, keeping a track of what is going on in your code and running Java Script.

2 Select the Chrome Menu icon, menu -> More Tools -> JavaScript Console.

3 The Console.log is used to print any kind of variables.

4 The console.log function keeps a record of certain events from software and operating systems.

5 By going to the Elements section in the Console and double clicking the element, tag, attribute you want to change.

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.”

  1. 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”

  1. What does console.log function do?

It allows execution of instructions within the console itself

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

By using javascript instructions in it.

1 Like
  1. The console is used to log information as part of the Javascript development process, it allows a developer to interact within a webpage, and it allows for writing, managing and monitoring Javascript on demand.

2.Open the three line tab in upper right corner of browser. Scroll down to More Tools. When the box opens up select Developer Tools. Click on Console at the top of the developer tool box.

  1. console.log eliminates popups. When a developer prompts the console to perform a task it is logged in the line below.

  2. First you save the file and load it into the browser, if you do not save and simply reload the page any changes made will be omitted. Second you open the console and then can begin altering the page. Only by saving are you making changes to the page, the console allows you modify but not change in and of itself

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

  2. How do you open the Console in Google Chrome?
    command + option + J on macOS

  3. What does console.log function do?
    logs information to the Javascript console.

  4. How can you change the contents of an HTML page through the console?
    by double clicking the element you want to edit and make changes or insert new data.

1 Like

1.test javascript code, inspect and debug websites
2.Hamburger menu -> more tools -< developer tools -> console
3. logs info in the console window, it gets shown in the page
4.by using functions you can add and edit content in the page

1 Like
  1. Console is for making experimental changes to a webpage without affecting the underlying code.
  2. Control + Shift + I
  3. I didn’t gather the answer to this myself but it looks like it logs information to the console.
  4. By typing within the console.
1 Like