Console - Reading Assignment

1 - The console allows us to write, manage and monitor java script on demand

2 - To open the console in google chrome we first click 3 vertical dots in the top right of window, Then select more tools, then,select developer tools, on panel click console on top menu if not already highlighted. For windows there is also a keyboard shortcut of ctr + shift + 3

3 - The console .log function performs math function and more complicated math functions it also allows working with variables on multiple lines.

4 - Through the HTML website we can change the contents using javascript.

1 Like
  1. The console is a tool used by developers to log, test and debug the code.
  2. F12 key, then click on the “console” tab OR Ctrl+Shift+J OR menu->more tools->developer tools
  3. Prints the argument in the console.
  4. The page code can be changed in the elements tab of the developer tools, any change is rendered in real-time. However, since these changes aren’t actually stored anywhere, they disappear as soon as the page is refreshed.
2 Likes
  1. The console allows you to Inspect JavaScript objects or code. It also allows you to test your own code and manipulate DOM

  2. Three dots on the Top Right hand corner > More Tools > Developer Tools

  3. It logs information to the JS code

  4. Inspect the element you would like to modify and double click the element. (with in Developer tools)

2 Likes
  1. To write manage and monitor JS on demand.

  2. Top right of browser window, select ‘more tools’ then developer tools or CTRL + SHIFT + J.

  3. Logs data/information to the JS console.

  4. right click/edit the ‘element’ in the console then add new data.

1 Like

1.The console is used to write,manage, and monitor the Javascript development process in real time.
2.To open the console in Google Chrome: open Menu- select More Tools -select Developer Tools- select Console.
3.console.log function lets you see the code directly in the console bypassing the pop- up window.
4. Can change the contents of an HTML page through the console with DOM Elements panel…double click a selected element to make changes.

1 Like

What is the console used for?
The console is used to write and manage Javascript on demand.

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.

What does console.log function do?
Console.log writes the javascript function output to the console.

How can you change the contents of an HTML page through the console?
Through the console, with Javascript, you can change all aspects of HTML elements by updating their properties directly or by using functions. Once the page is refreshed, these changes will be deleted.

1 Like

1.) The console is used to log information and allows you to interact with the web page by carrying out javascript expressions within the context of the web page.
2.)I can open the console in chrome with windows/Linux by pressing Ctrl+shift+j.
3.) Console.log logs results into the Javascript console.
4.) You can change the contents of an HTML page by selecting what you want to change in the document object model.

1 Like
  1. console for interakting whit the webpage

  2. ctrl shift J

  3. to not have a pup up to click on

  4. in elements change html

1 Like
  1. The console is used to interact with a web page by carrying out JavaScript expressions within the page’s context. It is useful as a part of the javascript development process as you can write, edit, and monitor Javascript on demand.

  2. Go to developer tools in the options menu.

  3. console.log function returns the value of whatever is input. It can return strings, call functions, and even compute mathematical operations.

  4. The console allows you to edit the contents of the HTML page by calling Javascript functions within the console, or directly editing the contents of the HTML page in the elements tab.

1 Like
  1. Console allows developers to interact with a web page, testing Javascript expressions on demand.

  2. By clicking on the three dots button, then selecting “More Tools” and “Developer Tools”.

  3. Console.log functions prints data passed as argument, right on the console. This data can be simple text, but can also be a logic expression. In this last case, it will output the result.

  4. By using Javascript expression such as "document.body.innerHTML, for example.

1 Like
  1. What is the console used for?
    A console providesthe ability to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    CTR + SHIFT + J or in Chrome you go to menu -> more tools -> developer tools.

  3. What does console.log function do?
    It shows outputs information to the console.

  4. How can you change the contents of an HTML page through the console?
    Go to the elements section in the console and double clicking the element, tag, attribute you want to change.

1 Like

What is the console used for?
The Console is where you can work with JavaScript in an interface that provides us with the ability to write, manage, and monitor JS code on demand.

How do you open the Console in Google Chrome?
To open the Console in Chrome, you can navigate to the menu at the top-right of your browser window. Then 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

What does console.log function do?
Console.log allows a developer to make changes to the website without windows popping up all the time.

How can you change the contents of an HTML page through the console?
By using the document command inside the console you can modify the contents of an HTML page.

1 Like
  1. To view, test, update code of the website.
  2. F12
  3. Computes whatever you tell JS console to.
  4. Go to elements and double click what you want to update.
  1. What is the console used for?
  • The console is a shell tool that the Console provides a programmer with the ability to write, manage, and monitor JavaScript on demand.
  1. How do you open the Console in Google Chrome?
  • Go to the right hand tab, open More Tools, then open Developers Tools,
  1. What does console.log function do?
  • Stops the 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 .
  1. 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 the programmer with the opportunity to experiment with JavaScript code within the context of existing HTML, CSS, and JavaScript.
1 Like
  1. What is the console used for?
    Answer: 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. How do you open the Console in Google Chrome?
    Answer: 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?
    Answer: Prints output to what you write in the console.

  4. How can you change the contents of an HTML page through the console?
    Answer: By changing the content in DOM.

1 Like
  1. The console is used to log information as part of the JavaScript development process, as well as allowing you to interact with the website by carrying out JavaScript expressions within the site’s context. The console gives you the ability to write, manage, and monitor JavaScript on demand.

  2. In Chrome, click the menu button at the top right (three vertical dots button) --> More tools --> Developer tools. This opens up a menu on the right side of the screen and in there you can click the “console” tab to reveal the console. Also there is a keyboard shortcut: COMMAND + OPTION + J

  3. The function “console.log” allows you to enter JavaScript commands into the console and get outputs directly there.

  4. You can modify the HTML that the browser is reading and displaying (Document Object Model) via the console, but it does not change the actual file, and when you refresh the page it will return to how it was before you started putting inputs into the console.

1 Like
  • What is the console used for?

The console gives you access to developer tools where you can interact with the HMTL, CSS and Javascript of a webpage. You can make changes to the webpage however these disappear when you refresh the webpage.

  • How do you open the Console in Google Chrome?

Settings -> More tools -> Developer tools

  • What does console.log function do?

Console log logs the output within the console opposed to on the webpage. The console.log function can perform Javascript within the console such a calculations.

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

Within the console, you can amend the contents of the HMTL file using the elements tab and manage the CSS file. Additionally you can use Javascript within the console to insert data. This does not make a permanent change to the website. As soon as you reload the page, the page will return to its origional form.

1 Like
  1. What is the console used for? [Andy] It is used to quick run a piece of javascript code on a live website for faster output.
  2. How do you open the Console in Google Chrome? [Andy] Go to More Tools => Developer Tool
  3. What does console.log function do? [Andy] Log the output in the console instead of showing on the website.
  4. How can you change the contents of an HTML page through the console? [Andy] We can use document.body functions to change the HTML page content.
1 Like
  1. What is the console used for?

The Console provides you with the ability to write, manage, and monitor JavaScript on demand.

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

Control + Shift+ J

  1. What does console.log function do?

It allows you to interact with a web page by carrying out JavaScript expressions within the page’s context.

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

Using the ‘document.’ object

1 Like
  1. The console allows programmers to try out javascript code on a running HTML page.
  2. CTRL+SHIFT+J
  3. It displays the output inside the console.
  4. Changes in the HTML page is temporary when done through the console.
2 Likes