Console - Reading Assignment

  1. What is the console used for?

A developer’s console let’s you work with Javascript in a terminal like interface all within your browser.

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

Click on the Menu button at the top right (looks like 3 dots lined up vertically) > Select more tools > Select Developer tools > Switch to the console tab

  1. What does console.log function do?

Prints a value or string within the console instead of the pop up on the web page.

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

If you click to select an element it brings up the HTML code and highlights the specific element you selected. From there you can change the line the line for that element.

1 Like

1.The console lets you log information as well as interact with the webpage. It allows you to write, manage and monitor javascript on demand.

  1. To open the JavaScript Console in Chrome, navigate to the menu at the top-right of your browser. Select More Tools, then select Developer Tools. From there, click Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already.

3.The console.log function is used to work with JavaScript

  1. You can change the HTML page contacts through the console, enter the desired input within the brackets under the script section
1 Like
  1. Testing and debugging javascript
  2. MENU ICON >> more tools >> developer tools
  3. outputs a response to the console
  4. using document.body.appendChild() as well as various “document.” functions.
1 Like
  1. What is the console used for?
  • It is a tool like a shell interface.
  • It provides you with the ability to write, manage, and monitor JavaScript on demand.
  1. How do you open the Console in Google Chrome?
  • 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.
    chrome-developer-tools-menu

  • 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

  1. What does console.log function do?
  • It prints the output of an expression to the console screen. This is useful and handy to see the immediate result of one or more instructions.
  1. How can you change the contents of an HTML page through the console?
  • By manipulating the “document” properties eg: document.body.style.color = “white”;
  • or by double-clicking a selected element and make changes/select a different auto suggest option.
1 Like
  1. The console is used to log informations and it allows you to interact with the web page by carrying out Javascript expressions within the pages content. Provides you with the ability to write, manage and monitor JS on demand.

  2. Ctr+Shift+J for WIndows

  3. Console.log prints the outputs directly on the console

  4. Through the console you can change the content by double clicking a selected element. Save it separate!

1 Like

1-console is used to execute commands on a web browser
2-F12 key
3-log information to console.
4-right click on the element and select inspect

1 Like
  1. What is the console used for?

Most modern web browsers that support standards-based HTML and XHTML will provide you with access to a Developer Console where you can work with JavaScript in an interface similar to a terminal shell. Within the Console, you can type JavaScript code.

You can also work within the context of an HTML file or a dynamically-rendered page in the Console. This provides you with the opportunity to experiment with JavaScript code within the context of existing HTML, CSS, and JavaScript.

  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?

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 console.log function prints the results of the expressions we are evaluating within the console itself.

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

You can also work within the context of an HTML file or a dynamically-rendered page in the Console. This provides you with the opportunity to experiment with JavaScript code within the context of existing HTML, CSS, and JavaScript.

Bear in mind that as soon as you reload a page following modifying it with the Console, it will return to its state prior to your modifying the document, so make sure to save any changes you would like to keep elsewhere.

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.

1 Like
  1. What is the console used for?
  • to inspekt javascript code and debugging code. or just test some new javascript on the existing page.
  1. How do you open the Console in Google Chrome?
  • CMD +option + J
  1. What does console.log function do?
  • It allows you to directly try out new JS directly into the browser, without having to delete existing code.
  1. How can you change the contents of an HTML page through the console?
  • By changing the element section in console. Changing the element will change the HTML page.
1 Like
  1. What is the console used for?

To run, manage and debug javascript code.

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

ctrl+shift+i

  1. What does console.log function do?

Logs into the console whatever parameter we specify in the function. For example console.log(“btc big number up”); in the console would return:
btc big number up

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

Through the document object model. You have to create and append a new element. You could create an element with the createElement function, then assign a value to that eleemnt I tihnk and then append it to the right DOM element. I guess.

1 Like
  1. The console is used to log information, and interact with the web page.
  2. Control+shift+J
  3. It displays information on the console.
  4. You can add javascript.
1 Like
  1. The console is used to log information as part of Javascript processes, you can also interact with the web page by carrying out Javascript expressions within the pages context. This allows you to read, write, manage, and monitor Javascript on demand.

  2. You can open it through the menu in the top right by going into more tools, then developer tools, then clicking console. You can also use CTRL + SHIFT + J.

  3. It logs information to the Javascript console.

  4. You can modify the contents of a HTML by using the document element inside of the console.

1 Like
  1. It allows you to write, manage, and monitor JavaScript on demand.
  2. Menu at the top right - Developer tools - Console
  3. It allows you to perform tasks such as math to set variable formulas
  4. You can modify the script using the console. The developer tools allow you to check for bugs and Isolate where there might be a problem with the code then change it to fix the issue and make sure that it works correctly.
1 Like
  1. Used for interaction with the webpage by carrying out Javascript expressions within the page context.
  2. From the menu at the top-right of my chrome browser window, then more tools and then developer tools. CTRL + SHIFT + I on windows.
  3. To execute Javascript code within the console in real time.
  4. By the Document Object Model (DOM)
1 Like

What is the console used for?
the Console which is similar to a shell interface, along with tools to inspect the DOM, debug, and analyze network activity.

How do you open the Console in Google Chrome?
we can get to it Console by using the keyboard shortcut CTRL + SHIFT + J

What does console.log function do?
it logs commands to the console

How can you change the contents of an HTML page through the console?
we can modify the style of the page such as the background color , the color of the text
but it does not modify the HTML DOCUMENT

1 Like

1. What is the console used for?

The console it’s used to interact with the webpage throught the browser.

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

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?

console.log allows the programmer to log data (or objects in most cases) to the Console and prints a result in the website.

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

Directly in the Elements tab, by modifying or entering new data.

1 Like
  1. What is the console used for?
    To log and interact, make changes to a web page and see the output.

  2. How do you open the Console in Google Chrome?
    View>Developer>JavaScript Console

  3. What does console.log function do?
    It displays the results of the action in the console.

  4. How can you change the contents of an HTML page through the console?
    Can be typed in the Console, or in the Elements Tab, you can select the element, double click on it and then edit and see results.

1 Like

1. What is the console used for?
to work with JavaScript in an interface similar to a terminal
2. How do you open the Console in Google Chrome?
F12
3. What does console.log function do?
it outputs whatever information is written between the two brackets
4. How can you change the contents of an HTML page through the console?
by accessing the console you can change whatever you like

1 Like
  1. What is the console used for?
  • It is used to inspect/interact with the elements of the webpage, Inspect JS objects, write and test your own code
  1. How do you open the Console in Google Chrome?
  • F12 or control shift and I
  1. What does console.log function do?
  • Writes information to the console if you need to check any variable or result
  1. How can you change the contents of an HTML page through the console?
  • Inspect element, tag or any content where you can break down specifically the element you are looking at and view the rules / styling controlling its appearance
1 Like
  1. What is the console used for?
    Answer: It enables a programmer with the ability to write, manage, and monitor JS on demand.

  2. How do you open the Console in Google Chrome?
    Answer: Control + Shift + J

  3. What does console.log function do?
    Answer: It logs pop-up alerts

  4. How can you change the contents of an HTML page through the console?
    Answer: Open the console and start writing code. When you press enter, the changes show up instantly on the web page.

1 Like

Answer Article Assignment;

  1. Allows programmers to log information as part of Javascript development.

2.CTRL+shift+I

3.Allows you to write code in Javascript for real time for HTML development.

4.By adding or changing code

1 Like