Console - Reading Assignment

  1. Console is an interface that provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. Ctrl + shift + i
  3. console.log allows you to receive the output within the console instead of having pop-up alerts.
  4. Accessing the Console and coding in JavaScript to modify the web page.
1 Like
  1. What is the console used for?
    It is used for writing, managing, testing and monitoring JavaScript.

  2. How do you open the Console in Google Chrome?
    Go to the menu button to the right of the search bar, towards the bottom of the menu click on “More Tools” and then click “Developer Tools”. This will open up a window and the console tab is at the top.

  3. What does consol.log function do?
    It allows you to test out the functionality of a piece of code by viewing the result/output in the console rather than having it occur/appear on the webpage itself. In this way you can test out a piece of code to make sure it is completely bug-free and ready to go before actually applying its effect to the webpage.

  4. How can you change the contents of an HTML page through the console?
    You have to open the page up in a web browser before you can change its contents via the console.

1 Like
  1. What is the console used for?
    Console provides you with the ability to write, manage, and monitor JavaScript.
  2. How do you open the Console in Google Chrome?
    go to the more tools menu and select developer tools
  3. What does console.log function do?
    logs info into javascript console.
  4. How can you change the contents of an HTML page through the console?
    through the dom all html elements are defined and can be accessed and modified using js.
1 Like
  1. What is the console used for?

Consoles are usually built into browsers along side other development tools,
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 allows you to write, manage and monitor JavaScript on demand…

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

Click F12 and then click on the “Console” tab.

  1. What does console.log function do?

console.log can be used for quite a few things, this includes printing something to the console, doing some math or you can work with multiple lines and variables and print out the date.

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

You can basically just use JavaScript how you like on a page to test certain things.

1 Like
  1. Console is a tool that is built to work with JavaScript on a web browser.

  2. Shortcut to open console in chrome us Ctrl + Shift + I

  3. console.log function is used to print the result of the JS code directly on the console

  4. The console provides us with a space to experiment with modifying HTML pages. But the content of the HTML document cannot be changed.

1 Like
  1. 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.
  2. go to the top right, press the 3 dots, more tools, Developer tools
  3. logs info to the javascript console
  4. You can edit HTML contents double clicking the tag, element, or content we wish to edit in the Elements tab and entering the new data in.
1 Like
  1. What is the console used for? - Development through direct interaction with the Javascript.

  2. How do you open the Console in Google Chrome? - Right click a page, click Inspect, click on the Console tab.

  3. What does console.log function do? - Prints the test given in the code, to the JScript console.

  4. How can you change the contents of an HTML page through the console? - Viewing the DOM tree via Inspector panel (in Chrome), double-click on a highlighted element and begin editing.

1 Like

My Answers:

  1. Console is used to Log information and provides ability to write, manage, and monitor JavaScript on demand
  2. Menu, More Tool, Developer Tools
  3. Allows you to interact with the webpage by carrying out JavaScript expressions
  4. By using DOM
1 Like
  1. The console is used to help modify and monitor a web page as well as to allow for greater interoperability with the webpage

  2. In Google Chrome you can open the console through Menu-MoreTools-DeveloperTools

  3. Console.log keeps us from having to work with seperate windows while programming

  4. You can change the contents of an HTML page by opening up the console and entering various lines of code which will alter different aspects of the HTML page

1 Like
  1. What is the console used for? - it allows developers to test JavaScript code real time by interacting with the web pages code.
  2. How do you open the Console in Google Chrome? - Crtl + Shift + J in Windows
  3. What does console.log function do? - it logs or stores values/code within the JavaScript console
  4. How can you change the contents of an HTML page through the console? - the Document Object Model (DOM) allows you to edit the HTML code using JS.
1 Like
  1. The console is used to interact with and use javascript, as well as monitoring it. It’s a tool built in to most web browsers. The console is used to perform javascript expressions within a webpage on demand. The console also logs information regarding your web page javascript interactions. Basically, the console is your javascript command base.

  2. The quickest way is to use the keyboard shortcut “CTRL+SHIFT+J” on windows/linux or “COMMAND+OPTION+J” on mac os.
    Or you could manually open it by clicking on the three dots on the top right of the browser window to access the menu then choose “More Tools”, then “Developer Tools”, then once the panel opens up on your browser you can choose “Console” from the panels menu bar.

  3. The console.log allows us to monitor and try out javascript code in real time using our web browser. The console allows us to work in an environment that resembles a terminal shell interface.

  4. By opening the HTML page on your browser, and then opening the console, you can from within it choose/define which elements you want to change or modify by using the appropriate code to achieve the output you desire. If you refresh the page at any point however, you will lose the changes you made.

2 Likes
  1. What is the console used for?
    For Javascript commands

  2. How do you open the Console in Google Chrome?
    Control+Shift+I

  3. What does console.log function do?
    Include Informations to the Javascript

  4. How can you change the contents of an HTML page through the console?
    Using the functions ,by modifing the content. Using the elements inside the console

2 Likes
  1. What is the console used for?
    The Console is used for testing, adding and developing additions the web page on demand.
  2. How do you open the Console in Google Chrome?
    Top right three marker menu> More tools>developer tools>Console Tab
    Or Press ctrl+shift+j
  3. What does console.log function do?
    It creates the code result to appear in the console instead of the webpage.
  4. How can you change the contents of an HTML page through the console?
    You can use the console to change the contents of HTML by using the reference HTML Tag Markers in the console and the document. function in the console.
2 Likes
  1. What is the console used for?

Inspect the DOM, debug, and analyze network activity.

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

F12

  1. What does console.log function do?

It logs what you desire in the console. Can be useful for debugging.

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

Go to the elements tab and double click an element to change it.

1 Like
  1. What is the console used for?

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

  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.

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

  1. 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. with the context of existing HTMS, CSS and JavaScript.

2 Likes
What is the console used for?

The console is used for being able to modify, run and execute Javascripts commands of the webpage.

How do you open the Console in Google Chrome?

top right corner (3 horizontal lines), go to web developer, then web developer tools. or CTRL + SHIFT +K in firefox.

What does console.log function do?

Put data into console if you need to check variable or results immediately.

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

by using the document element inside the console

2 Likes
  1. What is the console used for?

The console is used to interact with a web page by carrying out JavaScript expressions and to document or “log” the operations carried out.

  1. How do you open the Console in Google Chrome?
    CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS
    or simply F12

  2. What does console.log function do?
    Prints the string out.4.

4.How can you change the contents of an HTML page through the console?
You can change content by typing JS in the console.

2 Likes

1: It allows you edit webpage using Java.
2: i use Firefox: Ctrl + Shift + K or just press F12.
3: it allows to edit page with out pop ups appearing.
4: Through Dom.

1 Like

The console is used for logging information (through the console log function) and interacting with web pages using Javascript as part of the development process.
It can be opened using CTRL SHIFT J. You can’t change the contents of an HTML page through the console, you can experiment with different styles but any modifications will revert back to the saved version once the page is reloaded.

2 Likes
  1. What is the console used for? The console allows you to read, run, and modify the javascript on a webpage you have loaded in a browser.
  2. How do you open the Console in Google Chrome? by clicking on the “developer tools” inside the “more tools” from the three-dot menue.
  3. What does console.log function do? produces the results of your command within the console but not on the webpage.
  4. How can you change the contents of an HTML page through the console? By typing code in the DOM tree you can change the contents of the HTML page (this does not permanently change anything).
1 Like