Console - Reading Assignment

What is the console used for?
log information as part of the JavaScript development process as well as allow you to interact with the web page by carrying out JavaScript expressions.

How do you open the Console in google Chrome?
To right 3 verticle dots, more tools, developer options, and console

What does console.log function do?
Allows a script to log data or objects to JavaScript console

4.How can you change the contents of an HTML page through the console
Interact with the DOMS using “document” object or double click it

1. What is the console used for?

The console is used to interact and test JS in the browser environment. You can write code and the browser’s console will output it’s results in the same window making quick development testing of different pieces of JavaScript incredibly easy.

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

There are a number of ways, but on a Mac the easiest is by using the following keystroke:

“Command + Option + ‘j’”

3. What does console.log function do?

Console.log prints the output of the code executed within it’s parentheses straight to the console in line. The returned value appears directly below the console.log() function just executed.

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

By utilizing the the “document.body.[INSERT SPECIFIC CHANGE HERE]” method, you can add temporary changes to the pre-loaded webpage on the browser. However, as soon as the browser updates the webpage, all changes will be erased and the document will be reverted back to it’s original form.

What is the console used for?
For viewing and testing JavaScript
How do you open the Console in Google Chrome?
View -> developer -> JavaScript console
What does console.log function do?
Writes the output of a function to the screen
How can you change the contents of an HTML page through the console?
By accessing the HTML within the Elements tab, and editing or adding to the HTML

What is the console used for?
Debugging mode, looking at the page script, writing your own script and testing it in a live web environment

How do you open the Console in Google Chrome?
f12 or the 3 dots at the top right hand>more tools>development tool or ctrl+shift+l

What does console.log function do?
Outputs information

How can you change the contents of an HTML page through the console? Through the dev mode basically. But when you close it out it will revert back

  1. Console provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS.
  3. Console.log keeps the execution of the file in Console without publishing it on the website.
  4. 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.

1.Javascript using development tools built into browser
2. Menu - more tools - developer tools - console
3. Send output to the console
4. Copy page into browser and open console

  1. The Console can be used to log information as part of the JavaScript development process. It gives you the ability to write, manage, and monitor JavaScript on demand.

  2. To open the Console in Google Chrome navigate to menu at top right of browser window and click on button with three small dots. Click more tools, then click developer tools. Click on Console on top menu bar. There is also a keyboard shortcut: CNTL+SHIFT+J on Windows.

  3. Console.log function is used to work with alerts by logging them to the console so they can be worked with in JavaScript instead of constantly clicking out of pop-up alerts.

  4. To change the contents of an HTML page all one must do is press the up arrow key in Console to retrieve the previous command, edit, and send again.

  1. A Console is a development tool built in to work with JavaScript and other web technologies.
    2.You go to the 3 vertical dots and select MORE TOOLS, then DEVELOPER TOOLS; then click CONSOLE. Or by using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS, which will bring focus immediately to the Console.
    3.It logs information to the javascript console.

Are you guys seeing this error msg when you try to do the HTML exercise in the console exercise?

Hello here,

-The console is used for to interact via the browser directly with the Webpage.
-You open the console in Google Chrome clicking on the window with the three vertical dots-> more Tools-> developer Tools.
-The console .log function issues an Output, it makes the wirtten visual. You print a string.
-edit HTML Content by double clicking the tag, element, or content we wish to edit in the Elements tab and entering the new data in.

1 Like
  1. The console is used for modifying and experimenting with web pages from within the browser
  2. To access console in chrome: Cmd + Option + J (Mac)
  3. console.log produces outputs from parameters given to it
  4. You can modify content though console, or through the DOM by double clicking the element in the inspector view
1 Like
  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