Console - Reading Assignment

What is the console used for?
To analyse your website and test out modification on the HTML website
How do you open the Console in Google Chrome?
3 vertical dots, more tools, developer tools
What does console.log function do?
log in to the console
How can you change the contents of an HTML page through the console?
you can’t change the actual content but you can use the “Element” panel to see what will happen if you would make that certain change in the real HTML document.

1 Like

1.to write, manage and monitor javascript
2.select developer tools in the menubar
3.print the result of an expression
4 by using javascript to modify the content of an html file and save the changes.

1 Like

What is the console used for?
It is used as a tool and aid for developers, within Developer Tools, to debug and test JS code and functions.

How do you open the Console in Google Chrome?
View > Developer > Javascript Console

What does console.log function do?
It prints or displays the result of a function within the console.

How can you change the contents of an HTML page through the console?
By using the command document.body.innerHTML function.

1 Like
  1. For debugging and running tests.
  2. I use Firefox and for that it is ctrl+shift+K
  3. Not 100% sure but I think it stores data somehow
  4. By executing scripts
1 Like
  1. The console is a tool which helps developer to interact with a browser and gives an ability to write, manage and monitor JavaScript directly in the browser.
  2. In Chrome you should go into menu in the top right >More tools> Developer tools. Or on Mac just use Command+Option+J
  3. Console.log function is used to execute the code within the console and shows results of your inputs.
  4. HTML content can be changed by using JavaScript directly from console
1 Like
  1. Console makes it possible to directly monitor, write and debug the JS-program.
  2. On mac: option + cmd + J
  3. Console.log is the output command in the log
  4. You can change the HTML page by the command: document.body.xx = ”yy” where xx can be different parts/element denominations in the page (innerhtml, style etc) and yy can be the element.
1 Like

What is the console used for?
Debugging code

How do you open the Console in Google Chrome?
F12 or view Developer/Javascript Console

What does console.log function do?
You can check results and variables

How can you change the contents of an HTML page through the console?
Mark on the webpage what area you want to inspect. Rightclick and select inspect.

1 Like

What is the console used for? Console is a built in development tool directly in the web browser in order to manage change the web content and structure
How do you open the Console in Google Chrome? You can open it clicking on the three dots right up corner then more tools and development tools
What does console.log function do? Basically it displays the results of the function output in the console
How can you change the contents of an HTML page through the console? Adjusting the html file in the element window using the javascript functions.

1 Like

1.Live editing webpages
2.command + Option + J
3.save the file
4.dom

  1. What is the console used for?
    Ans. The Console can be used to interact with a web page by carrying out JavaScript expressions within the page’s context.

  2. How do you open the Console in Google Chrome?
    Ans. You can get into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J.

  3. What does console.log function do?
    Ans. By using console.log function, you will receive the outputs within the console.

  4. How can you change the contents of an HTML page through the console?
    Ans. We can edit HTML contents by double clicking any content we wish to edit in the Elements tab and entering the new data in.

1 Like

1.What is the console used for?

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. 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.You can also enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS, which will bring focus immediately to the Console.

3.What does console.log function do?
It allows the user to log data, or objects to the JavaScript Console.

4.How can you change the contents of an HTML page through the console?
you can use elements to modify html code on a page.

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 - More Tools - Developer Tools - Console Tab

What does console.log function do?
Log information to the JS console.

How can you change the contents of an HTML page through the console?
Using the inspector panel for Firefox or elements panel for chrome in the Console and double clicking the element you want to change.

What is the Console?
<><><><><><><><><><><><><><><><><><><><><><><><>

What is the console used for?
To read, write, interact, or monitor Javascript on the website

How do you open the Console in Google Chrome?
Right click and inspect, vertical ellipsis top right, or Ctrl + Shift + J

What does console.log function do?
It “logs” the reply inside the console so you dont have to keep dealing with the pop-up

How can you change the contents of an HTML page through the console?
The DOM (Document Object Model) allows you to access the code and live-fiddle with it right there, seeing how it will work and look.

What is the console used for? → The Console provides you with the ability to write, manage, and monitor JavaScript on demand. 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.
How do you open the Console in Google Chrome? → Menu, More Tools, Developer Tools, Console. Or: CTRL + Shift + J on Windows and Linux.
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. The JavaScript Console 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.
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. You can input Javascript into the console and see how it would work.

  1. What is the console used for? Use to work with JavaScript to interact with web page to write, manage, and monitor JS on demand.

  2. How do you open the Console in Google Chrome? Go to menu in up right hand corner of Chrome browser, select More Tool, and then select Developer Tools. Go to Console section

  3. What does console.log function do? It allows you to enter JS and see realtime results

  4. How can you change the contents of an HTML page through the console? Simply type HTML commands to make changes to page. The changes are not permanent and will go away once the web page is reloaded.

What is the console used for?
The Console can be used to log information as part of the JavaScript development process, it also allows you to interact with a webpage by carrying out JS expressions, the Console allows you to write, manage and monitor JS.

How do you open the Console in Google Chrome?
The quick key is F12. Or you can use the ellipse at the top right to open the Console, “more tools” > “developer tools”.

What does console.log function do?
Prints or logs a value to the console.

How can you change the contents of an HTML page through the console?
You can make changes by modifying the dom of the webpage, such as when you change the background colour using the line: document.body.style.backgroundColor=”red”;
^ I’m still actually trying to figure out how to make this bit work properly so don’t take that as gospel.

  1. What is the console used for?
    The console 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. It enables the ability to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    Navigate to the menu at the top-right of the browser window signified by three vertical dots in a row. 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. Alternatively, you can open the Java Script Console by selecting CTRL + SHFT + J on Linux or windows or COMMAND + OPTION + J on MacOS.

  3. What does console.log function do?
    The console.log function displays the output of JavaScript code that you generating using the console in the browser

  4. How can you change the contents of an HTML page through the console? You cannot permanently change the contents of the HTML document through the console. The code entered by means of the console is not saved when the page is reloaded.

Console Reading Assignment

  1. What is the console used for? To test javascript code, inspect its elements and execute javascript commands
  2. How do you open the Console in Google Chrome? In Google Chrome press CTRL+SHIFT+J keys or (F12 key)
  3. What does console.log function do? Logs information to the Javascript console ( to check variables/results)
    How can you change the contents of an HTML page through the console? Using the document elements inside the console

–The console is used to log information as part of the JavaScript development process. It allows for the writing, managing, & monitoring of JavaScript on demand.
–Console can be opened in Chrome by right clicking & selecting “inspect”. Or, clicking the 3 dots in the top right corner of the Chrome Browser, selecting “More Tools” then selecting “Developer Tools”.
–Console.log “prints” code to the console.
–Contents of a page can be changed by double clicking or right clicking lines in the Elements tab.

  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

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

  1. How can you change the contents of an HTML page through the console?
    Load the saved HTML file into the browser of your choice, you can then open up the Console and begin working with JavaScript to modify the page. 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.