Console - Reading Assignment

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? CTRL + SHIFT + J on Windows and CMD + OPTION + J on macOS

3. What does console.log function do? Allows you to log your outputs to the console

4. How can you change the contents of an HTML page through the console? By accessing and modifying elements using methods within the document object

1 Like

What is the console used for? Inspecting elements within a webpage and changing them
How do you open the Console in Google Chrome? tools
What does console.log function do? makes the changes only within the console
How can you change the contents of an HTML page through the console? double clicking the element and editing

1 Like
  1. console is used for log information to make it readable to JS programming
    2)menu-more tools-developer tools-console
    3)it logs the information by execution of output
    4)we can change the content using the variety of functions related to document() or/and document.body()
1 Like
  1. The Console provides the ability to write write, manage & monitor JavaScript ON-Demand.

  2. 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:
    Or
    keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS,

3.Console.log allows you display commands within the console

  1. Console allows you to experiment with the html page in the elements section by adjusting the HTML code directly, but it does not save your changes.
    In order to incorporate any changes you need to adjust atom
1 Like
  • What is the console used for? A place where you can work with javascript in an interface similar to a terminal shell
  • How do you open the Console in Google Chrome? 1. Three dots in top right of browser. 2. More Tools. 3. Developer Tools.
  • What does console.log function do? The place where values for variable are recorded during execution. Is used for debugging purposes.
  • How can you change the contents of an HTML page through the console? Use DOM and double click the element that you want to change
1 Like
  1. To manage, write and monitor Javascript in a browser .
  2. Ctrl+Shift+ J or go to the settings-button… in browser then select ā€œMore Toolsā€ than ā€œDeveloper Toolsā€ now ā€œConsoleā€ should be open .
  3. Logs information to the ā€œJavascriptā€ console .
  4. By using the document element inside the console .
1 Like
  1. the console is used to log information when you are developing, and it allows you to interact with the website by carrying out expressions
  2. the three dots in the right hand corner
  3. spits ouf whatever is inside the log
  4. by using Java script
1 Like
  1. adding javascript
  2. more tools -> developer tools -> select Console
  3. output something in the console
  4. using Javascript
1 Like

1 - The browser console is used to run javascript code. It is a tool meant to support the development process.
2 - ctrl+shift+i
3 - displays a message on the console
4 - utilizing javascript code

1 Like

Console is used to write, manage, and monitor Javascipt language
For Mac press command+Option+J or go to Menu-select tools-select developer tools, click console to bring javascript console.
Console.log function log changes and evaluate javascript
You can change HTML content by using the DOM

1 Like

Q1: What is the console used for?
Write, manage, and monitor JavaScript.

Q2: How do you open the Console in Google Chrome?
By using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS.

Q3: What does console.log function do?
Print the result of evaluating an expression to the console.

Q4: How can you change the contents of an HTML page through the console?
By using JavaScript.

1 Like

* What is the console used for?
You can use it to execute javascript on the website you are on, look at the code, monitor it
* How do you open the Console in Google Chrome?
Through the developer tools or CTRL-SHIFT-K
* What does console.log function do?
it writes feedback of the command to the console
* How can you change the contents of an HTML page through the console?
Doubleclick on elements inside the DOM node and change them, or to just add javascript code to the console

1.What is the console used for?
A console is used to quickly test Javascript code. You can also use the console to test your javascript within the context of an html page.

2.How do you open the Console in Google Chrome?
On a mac you use: Command + Alt (option) + i or Right click on the current open window of a browser and click on inspect.

3.What does console.log function do?
console.log() function displays/logs/prints the provided input to the console display.

4.How can you change the contents of an HTML page through the console?
The console will give you access to the DOM of the current HTML page. Having access to the DOM then enables you to change the contents of the HTML page.

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. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.
2- Press (ctrl + shift + J) OR Chrome Menu > More tools > Developer tools > Console

3- outputs results or value into JS console
4- You can modify it through the DOM (Document Object Model)

1 Like
  1. What is the console used for?
    

The console is used to troubleshoot or test javascript code. It’s similar to a shell in linux.

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

CTRL + SHIFT + i

  1. What does console.log function do?
    

Prints a string to the console.

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

Target an existing HTML element and manipulate it’s contents with Js. You can also create new elements on the fly with Js.

1 Like

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.

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, You can also enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + I

What does console.log function do?
The JavaScript Console.log gets rid of pop-up alerts that would otherwise be ā€œunidentifiedā€ and require to be clicked out of. we can work with JavaScript by logging it to the Console with console.log.to try out JavaScript code in real time by letting you use an environment similar to a terminal shell interface.

How can you change the contents of an HTML page through the console?
You can 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.You can open up the Console and begin working with JavaScript to modify the page.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. The console is used for editing and monitoring JavaScript within the page’s context.
  2. More Tools >> Developer Tools or ctrl+shift+J
  3. The console.log function will keep the output of the code within the console.
  4. The JavaScript console commands change the HTML code in the elements tab.
1 Like

1. What is the console used for?

The console can be used to test out code on a live website. You can see the results of your code in real time or using console.log can see the output in the console itself. You can also use it to debug code.

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

a. Go to the three dots in the upper left hand corner -> go to more tools -> developer tools - click console tab
b. Or right click on the browser window and choose inspect -> click on the console tab

3. What does console.log function do?

console.log allows you to print the output of code to the console output.

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

You can use Javascript commands to insert information into the html document though the console. The will allow you to see the results of your code in real time. However once you refresh the browser the changes will be reverted.

Alternatively you can use the inspector tab, to change existing html or add new.

1 Like
  1. To inspect the JS HTM and CSS code. You can also test out your own code there see how it works on working website.
  2. Settings -> More Tools -> Dev Tools
  3. You can see output of your code in console. You don’t need to test out the code in real time on the website. I would assume it is used to quickly test out if the code works, for time saving purposes basically.
    4.You can write in you code / script into the console and see real time result on working website. You can edit existing code and see the changes right away but whenever you refresh the website all of the changes are lost.
1 Like
  1. It is used to interact with the webpage on demand.
  2. Use CTRL + SHIFT + J
  3. It prints out to the console whatever we pass it.
  4. You can access DOM tree model of a webpage and add an element or remove or modify an element.
1 Like