Console - Reading Assignment

  1. What is the console used for?
    It provide a log information about the javascript code that is being executed on a website in order to document all the code used in it.
  2. How do you open the Console in Google Chrome?
    Menu Button> More tools > Developer Tools.
    Keyboard Hotkey: F12 or Ctrl+Shift+i.
  3. What does console.log function do?
    its allows us to execute code in the JS console without modifying anything from the website.
  4. How can you change the contents of an HTML page through the console?
    After the website is loaded, open the console and it will appear a lot of the website’s html content, we can modify this content to make change on it without rewrite the DOM (Document Object Model) of the website.
    If we want to made those change permanently, we have to write those changes in the html main file of the website outside the console (In a IDE like Atom).
1 Like
  1. What is the console used for?
    Used to log information and interact with JS in the JS development process. Allows the programmer to write manage and monitor the development process on JS.
  2. How do you open the Console in Google Chrome?
    • Click menu in the top right hand corner
    • Select more tools
    • Then select development tools
    • In the new panel opened, click on Console to bring up the JS
    • Or for quick shortcut ctrl+shift+J for windows
  3. What does console.log function do?
    Allows the programmer to add data to the JS console.
  4. How can you change the contents of an HTML page through the console?
    Making change to content in the console can be made through clicking the elements tab in the panel and adding data this will create a DOM when the page is loaded

What is the console used for?
The way to interact with the web page
How do you open the Console in Google Chrome?
Developers options, open console
What does console.log function do?
It shows on the log screen the required messages
How can you change the contents of an HTML page through the console?
Typing htmp or javascript commands directly or modifing the DOM

  1. Console is used to see the full content of a web page and it allows us to use javascript directly on the page
  2. Menu --> More Tools --> Developer Tools (Ctrl + Shift + i)
  3. console.log writes the javascript function output to the console
  4. You can change the contents by interacting with page’s DOM (functions or just right click and edit)
  1. Console is used for running javascript and it allows to interact with web pages running javascript.
  2. By going through developer tools or simply using Ctrl + Shift + J
  3. console.log is used for printing
  4. using DOM can help edit contents of an html page

The console is used for inputting JavaScript commands into an existing web page being visited in a web browser.

In Chrome, you can go to “other tools” in the menu and click developer, and select it, or alternatively shift - ctrl/cmnd - J.

Console.log puts the output of the command into the console. It’s useful for testing variables and functions before incorporating them into the rest of the code.

You can use the console to reference parts of the html and modify or append to them, with html sections separated by periods, such as using document.body.append or something similar

  1. What is the console used for?
    It is used for writing, managing and monitoring JavaScript.

  2. How do you open the Console in Google Chrome?
    Press F12
    or
    click three dots =>more tools=>developer tools
    or
    Press Ctrl+Shift+I

  3. What does console.log function do?
    The console.log function writes the string passed to the console.log function to the output

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

What is the console used for?
In chrome console you can read information about the current web site.
How do you open the Console in Google Chrome?
Ctrl + Shift + J
What does console.log function do?
The console.log prints results in the console
How can you change the contents of an HTML page through the console?
With Java Script Commands in the Console you can change contents

  1. Ans. The console is a way to interface with javascript in real time.

  2. Ans. ctrl + shift + j

  3. Ans. Console.log will allow the user to log in directly to javascript without those annoying pop ups.

  4. Ans. Go to the element section and double the element you want to change.

  1. The console is used for modifying code without opening a code editor, you can do it “live”
  2. Right click, inspect element, and then select console
  3. It puts data in the console
  4. just write document.body.innerHTML = "

    Today’s date is

    ". It says wich part of the HTML you want to modify (body, head)

What is the console used for?
-log information
-interact with a web page
Console provides the ability to write, manage, and monitor JavaScript on demand.

How do you open the Console in Google Chrome?
keyboard shortcut, COMMAND + OPTION + J on macOS

What does console.log function do?
Give JavaScript output to the console.

How can you change the contents of an HTML page through the console?
You just simply open the console and using JavaScript change the contents of the HTML page.

  1. Console is used to write and test javascript code directly without actually writing it into the html document.
  2. F12
  3. console.log outputs the information to the console.
  4. Inspect element.

What is the console used for?
To see code work in the browser in real time.

How do you open the Console in Google Chrome?
Menu, Tools, more tools, dev tools

What does console.log function do?
Keeps output in the console
How can you change the contents of an HTML page through the console?
Just double click an element to change it directly, or add some code! Duh!

  1. it’s used to live test code on an existing webpage
  2. Right click on page, then inspect, then console
  3. Print out the function’s value onto the console
  4. Through the DOM.
  1. The console is used to execute JavaScript commands within that specific web pages context
  2. Go to side panel (3 vertical dots) > More Tools > Developer Tools > Console tab in bottom tools
  3. Print expressions to your web interface
  4. double click on a DOM tag within the elements or inspector tab to edit contents

What is the console used for?
It’s our interface to a webpage where we can enter in and run javascript commands

How do you open the Console in Google Chrome?
For me, Control-Shift-J

What does console.log function do?
Instead of outputting the data or results into the Page, it displays the information in the console

How can you change the contents of an HTML page through the console?
There is a concept called DOM, document object model which allows us to identify sections of the HTML page and modify them or the attributes on them.

1.The console is used to log information and also log information as part of the javaScript development process
2.Navigate to the menu in the top right hand corner shown by the dots, open and select more tools then developer tools. This will open the console along the top and bring up the javaScript console
3.Lets you log information that you can view at a later date, also if you have a lot of scripts, may make it easier to view
4…Use the inspect element or click on the edit element

  1. Console provided you with the ability of write, manage and monitor javascript. In other words is like a testing mode.

  2. 3 dots on the right corner, more tools, developer tools

  3. logging to the console/print

  4. yes, you can change the contents of an HTML page thought the console! how? be accessing various elments of the DOM. But the changes are transient, so the document shall be saved external to console? how Idk yet.

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?
CTRL + SHIFT + J
What does console.log function do?
It shows the result of the code in the console.
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 you’re not changing the HTML document when you do things on the Console. Once you reload the page it will return to a blank document.

  1. The console is used as a development tool which is built in to modern browsers. It used to log information and interact with a web page by carrying out JavaScript expressions within the page’s context. This means that you try out JavaScript code in real time.

  2. The console is opened in Google Chrome by navigating to the menu at the top right corner of the browser window (3 vertical dots in a row). Then select MoreTools/DeveloperTools. This will open a panel. Click the Console tab on the top menu of the panel.

  3. The console.log function allows the developer to view the value of JavaScripts statements/functions on the console log rather than use the alert function to alert on the browser.

  4. The HTML contents of a page can be changed through the console by letting you experiment with modifying the HTML page. However, it is important to note that the HTML document is not changed when changing things on the console. It just gives the developer space to experiment with commands and changes as a development aid.