Console - Reading Assignment

  1. it is used to inspect the code of a website you can also use it to find bugs. you can write locally code with it but it doesn’t change anything in the HTML code, and you can see how the website is performing in terms of how fast it is.

  2. ctr+shift+i or f12

  3. console.log() will output the text after this attribute right to the console then this text is only seen on the console and the HTML document.

4.you can do this with the ‘document’ object.

1 Like
  1. What is the console used for?
    to inspect the code, requests made by the website and to write/experiment new code and find bugs
  2. How do you open the Console in Google Chrome?
    open ‘more tools’, then ‘developer tools’ or CTRL+SHIFT+i
  3. What does console.log function do?
    it simply returns the result to the console
  4. How can you change the contents of an HTML page through the console?
    you use the document… elements to insert more dynamic HTML
2 Likes

1.) the console is used to change the web code in real time.
2.) You go up to the upper right corner and click on the control. Then go to “more tools” and then to “developer tools.” The console will open right up and you can start adding to the code.
3.) the console function allows you do more mathematical equations.
4.) open up the ability to make changes by right clicking on the console where you would like to make changes and then use modify.

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

  2. How do you open the Console in Google Chrome?
    Menu, More Tools, Developer Tools, Click on Console on menu bar. Or shortcut: CTRL + SHIFT + J

  3. What does console.log function do?
    Provides 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 using the Inspector panel in Firefox or the Elements panel in Chrome to edit the DOM elements.

1 Like
  1. It´s 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. It logs commands to the Console.

  2. Using DOM

2 Likes
  1. The console is used to log information , allow you to interact with a web page. the console provides you with the ability to write, manage and monitor javascript on demand.
  2. 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. logs information to the console
  4. by using adding javascript to the console in html
1 Like
  1. Console is used to log information as part of JavaScript development process and also it provides an environment to interact with an web page by writing expressions within the page’s context.

  2. by pressuing Control+Shift+J button of the key board. Or by clicking the following options : three vertical dots on the top right corner of an web page --> more tools–>development tools–>console tab.

  3. console.log functions writes out the result of an expression ,given to it, in the the console.

  4. we can change the contents of an HTML page by changing /modifying elements in the pages console and run it. However before reloading the page , the changes need to be saved first.

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?
It is used to print any kind of variables defined before in it or to just print any message that needs to
displayed to the user.
4, How can you change the contents of an HTML page through the console?

Edit HTML in the Console Panel

  1. Log a DOM node to the console
  2. Right click on it.
  3. Select Edit as HTML or Edit Text.
  4. Notice the DOM is updated on the page and also in the Elements Panel.
1 Like
  1. What is the console used for?
    Used for testing code on the page, which will give you a visual as to how your code looks and if there are errors for said browser.

  2. How do you open the Console in Google Chrome?
    Click the three dots (ellipses) in the upper right section of the Chrome Browser > More Tools > Developer Tools.

  3. What does console.log function do?
    Presents output from entered code within the Console area.

  4. How can you change the contents of an HTML page through the console?
    Click on the Elements or Inspect Elements tab or button to access the code and make changes to the code.

1 Like
  1. The console is used to work on HTML and JavaScript languages in real time through your live browser. You are interacting with the webpage through the log. It allows you to, ‘write, manage, and monitor JavaScript on demand’.

  2. You can open the Console in Google Chrome by going to your settings through your browser tab, going to ‘tools’, and then opening ‘developer tools’. Then you select ‘Console’. Alternatively, you can press CTRL+SHIFT+J

  3. The console.log function allows you to work in JavaScript code… and in ‘real time by letting you use an environment similar to a terminal shell interface.’

  4. You can change the contents of an HTML page by selecting ‘Elements’ from the tabs in dev tools options just like where the ‘Console’ and ‘Network’ tabs are and run it from there.

1 Like
  1. the console is used for writing, managing and monitoring JavaScript on demand
  2. go to the menu --> more tools --> developer Tools
  3. to get the output on the website and not as an pop-up like we already learned with alert
  4. as far as I understood it - I can change the webpage via the console (tab console) directly or via tab DOM (Elements or Inspector) - but both things will not change my HTML page permanently - when I reload it I will have the origin HTML page.
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?
Keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS

3. What does console.log function do?
The console.log() is a function in JS 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. How can you change the contents of an HTML page through the console?
By going to the Elements section in the Console and double clicking the element, tag, attribute you want to change.

1 Like
  1. The console is used to add HTML content to the current page, edit content & run Javascript code, directly in the browser. But only for the period until the page is reloaded, when the orginal HTML file is loaded again.
  2. CTRL + Shift + I, click the console tab
  3. The console.log can for example run commands or calculate, the command or equation will be returned from the console, on the next row.
  4. You can give the console commands to add content to the HTML page, it is also possible to edit elements of the page through the DOM.
1 Like
  1. The console is a browser tool that allows you to interact with javascript.

  2. Press F12

  3. The console.log function allows users to define variables. Once a variable has been defined it returns a value.

  4. You can change the contents of a webpage by opening the console and selecting element.

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

  2. You can also enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J

  3. Is a function in JavaScript which is used to print any kind of variable defined before in it or to just print any kind of message that needs to displayed to the user .

  4. You can edit the file by clicking tag, element , console or any content you want to edit.

1 Like
  1. What is the console used for?
    = Via the Console you can write, manage and monitor javascript on demand. It can be used to log information as part of javascript development.

  2. How do you open the Console in Google Chrome?
    = Right click, Inspect, Console.
    Mac: Command + Option + J
    Win/Linux: CTRL + SHIFT + J

  3. What does console.log function do?
    = console.log will display or print variables you define in ().

  4. How can you change the contents of an HTML page through the console?
    = By using Document Object Model or DOM. In Chrome you go to the element tab in console and click anything you wish to change. In Firefox you go to the inspect tab.

1 Like
  • What is the console used for?
    The Console makes it possible to write, manage, and monitor JavaScript on demand.

  • How do you open the Console in Google Chrome?
    You go to menu>more tools>developer tools>console

  • What does console.log function do?
    It give commands and shows the output.

  • How can you change the contents of an HTML page through the console?
    By using the Javascript commands on the HTML page.

2 Likes
  1. The console is used during the development process to experiment modifying HTML on a web browser.

  2. Command + Option + J is the shortcut for opening console in Google Chrome on Mac.

  3. The console.log function allows to log data to the console.

  4. You can change the contents through the DOM in Chrome by going to the Elements tab in the console and double-clicking the line of text you want to modify.

1 Like
  1. Console can write, manage and monitor javascript code on demand.

  2. View - developer tools - Console.

  3. console.log is a function that allows you test the the results of a code in real time by letting you see outcomes of code.

  4. You can edit the html of a page in the console in the element tab, any changes will be erased if you refresh so for modifications to be permanent it must be saved in the original file.

1 Like
  1. What is the console used for?
    it’s used to Debug code: (Inspect JS objects or code, write and test your own code and test it locally, Manipulate DOM, etc.). The errors apears also.
  2. How do you open the Console in Google Chrome? F12
  3. What does console.log function do? The content stays in console and never impact in the browser.
  4. How can you change the contents of an HTML page through the console?
    ight click over the element that you want to change and select “inspect”
1 Like