Console - Reading Assignment

  1. 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.
  2. CTRL + SHIFT + J
  3. it let’s you log the Console
  4. using the DOM element
1 Like

What is the console used for?
You can code right into it. HTML and JS, wow, these kids are powerful.
How do you open the Console in Google Chrome?
I prefer CTR- SHFT- J
What does console.log function do?
Just outputs text into the console.
How can you change the contents of an HTML page through the console?
use functions like document.body.innerHTML to alter the code of the page.

1 Like
  1. To execute JS commands and interact with the elements of the webpage.
  2. Control+shift+J or F12
  3. Allows programmers to issue commands to the browser or console.
  4. The document command
1 Like
  1. What is the console used for? - The console allows you the ability to write, manage, and monitor JavaScript on demand.
  2. How do you open the Console in Google Chrome? -Click on More Tools in the drop down menu and then on Developer Tools. Select Console tab in new window.
  3. What does console.log function do? - logs info into the JavaScript console
  4. How can you change the contents of an HTML page through the console? - Contents on the HTML page can be change through the Elements tab. Double click on the element and edit.
1 Like
  1. It is a developer tool to enter JavaScript and add and try out code temporarily.
  2. Click the three vertical dots in a row and then select More Tools-> Developer Tools.
  3. Console.log is a command to output information to the console.
  4. Use JavaScript commands to modify HTML code temporarily. Save the final code permanently.
1 Like

What is the console used for?

The Console is similar to a shell interface that allows you to write, manage, and monitor JavaScript on demand. 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 do you open the Console in Google Chrome?

If you navigate to the menu at the top-right of your browser window signified by three vertical dots in a row, you can select More Tools, and then select Developer Tools. 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 open up the Console window to the right.

What does console.log function do?

It allows us to keep a log of our javascript entries so that we can track our progress.

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

You can then open up the Console and begin working with JavaScript to modify an HTML page. The Console provides you with a space to experiment with modifying HTML pages. However you are not permanently changing the HTML document when you execute console commands, so once you reload the page it will return to a blank document.

1 Like
  • What is the console used for?

work with JavaScript in an interface similar to a terminal shell,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.

  • 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

  • What does console.log function do?
    we can work with JavaScript by logging it to the Console with console.log

  • How can you change the contents of an HTML page through the console?
    by using functions that add or change the content, for example: document.createElement()

1 Like
  1. What is the console used for?
    Executing JavaScript code to modify HTML webpages.
  2. How do you open the Console in Google Chrome?
    Dots > More Tools > Development tools
    Or
    Ctrl + shift + j
  3. What does console.log function do?
    Displays the output in the Console window instead of on the webpage itself.
  4. How can you change the contents of an HTML page through the console?
    Yes. You can change and create elements, add text, and link content through the DOM by using the ‘document’ object.
1 Like
  1. It is a shell interface that allows you to write manage and monitor javascript, essentially allowing you to interact with the elements of the webpage through javascript commands.

  2. Ctrl+Shift+J or click on developer tools and select console tab.

  3. It allows for us to log and track javascript entries.

  4. Through the elements tab.

1 Like

Console - Reading Assignment

  1. What is the console used for?
    The console is used to experiment with your HTML page, but it is important to remember that it does not change the document.
  2. How do you open the Console in Google Chrome?
    Options>more tools>developer tools or ctrl+shipt+j.
  3. What does console.log function do?
    Console.log can be used to write to screen in the console window! This would not appear in the web page.
  4. How can you change the contents of an HTML page through the console?
    You can use the document.body function to change content of the HTML page by using the console window and create elements.
1 Like
  1. What is the console used for? Enables you to code on the fly in real time and immediately see how what you’ve done affects the page.
  2. How do you open the Console in Google Chrome? Command + Option +J on my Mac.
  3. What does console.log function do? Allows you to make coding changes, perform tasks and calculations without having to constantly be shutting down pop boxes where the output data appears as it would with an alert command.
  4. How can you change the contents of an HTML page through the console? If you access the Elements panel in the developer tools you are able to edit the DOM (Document Object Model). This will allow you to modify the content of an HTML page.

How’s this look? Too bad there’s not more monitoring of this section. Some actual feedback would be much appreciated. thanks

1 Like

What is the console used for?

  • Test javaScript code
    How do you open the Console in Google Chrome?
  • ctrl+shift+k on windows or Linux
  • cmd+option+k on macOS
    What does console.log function do?
  • prints out the result
    How can you change the contents of an HTML page through the console?
  • by inserting ‘dynamic’ HTML using JavaScript via the DOM eg document.body.innerHTML = “

    “Blah!”

1 Like
  1. The console allows one to log information from the development process as well as interact with the webpage under development in the context of the page.
  2. Click the 3 dots icon at top right hand corner; click “more tools” from the drop-down menu; click “Development tolls” from the pop-up menu; and then select “console” at the top menu.
  3. Console.log function performs printing of strings and results of math computation.
  4. You can load a html file into a dynamic window in the console to test in real-time the interactive content of the webpage.
1 Like

What is the console used for?
It is used to modify, manage and monitor a webpage. The page will return to its state prior to modifiying it when the page is re-loaded.

How do you open the Console in Google Chrome?
3 dots in the top-right corner —> More tools —> Developer tools —> Console tool (command + option + j)

What does console.log function do?
Dislays the output within the console.

How can you change the contents of an HTML page through the console?
You can only change it temporarily by modifying the DOM (Document Object Model). Changes won’t last if page is re-loaded. All the things you do in console is only experimental.

1 Like

What is the console used for?
The console can inspect the DOM, debug, analyze network activity, and provides you with the ability to write, manage, and monitor JavaScript on demand.

How do you open the Console in Google Chrome?
Click on 3 vertical dots on UR of browser -> more tools -> developer tools

What does console.log function do?
Console.log outputs operations in the console.

How can you change the contents of an HTML page through the console?
Load the HTML page to be modified, open console on a web browser, then write instructions using Javascript to change contents of HTML as desired.

1 Like
  1. The Console can be used to log information as part of the JavaScript development process, to allow you to interact with a web page by carrying out JavaScript expressions within the page’s context, to provide you with the ability to write, manage, and monitor JavaScript on demand.
  2. On mac:
  • On your navigation bar, click “View” and the click “Developer” tab and then click JavaScript Console
    or use COMMAND + OPTION + J on macOS
  1. It is used to perform some math computations.
    4.Using a blank html document, we can modify by using the JavaScript like inserting some instruction like heading, background color, color of the text, even putting a paragraph element, etc.
1 Like
  1. Console can be used for running javascript expressions within the webpage

  2. Options > More Tools > Developer Tools > Console Tab (or Ctrl + Shift + J)

  3. take an arguments and logs it in the console

  4. any document element can be accessed and the contents may be changed ( e.g. document.body.innerHTML = “OK” )

1 Like

1.The Console provides you with the ability to write, manage, and monitor JavaScript on demand.
2.Go to the 3 dots in the top right, more tools then developer tools.
3.Console.log outputs to console.
4.Right click over the element that you want to change and pick inspect.

1 Like
  1. The console can be used for different purposes. These include the ability to interact with the elements of a webpage, debug code, and log information from the webpage.
  2. F12, or Ctrl + Shift + I
  3. console.log function logs information into the console.
  4. The contents of an HTML page can be modified using the document element, but these changes are only temporary.
1 Like

I’m a complete noob so hopefully this is an easy query.
When I open the console on my website I get greeted with:

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

Can someone explain what I’ve done or not done. Thanks