Console - Reading Assignment

  1. What is the console used for?
    It is used by developers to debug the javascript in websites.

  2. How do you open the Console in Google Chrome?
    Tools> Developer Tools and click on the console tab.

  3. What does console.log function do?
    This is for sending output to the console.

  4. How can you change the contents of an HTML page through the console? The document command can be used to change contents of HTML page.

1 Like
  • What is the console used for?
  • It is used to log info, allows interaction with a web page by using JS expressions, Provides the ability to write, manage and monitor JS on demand.
  • How do you open the Console in Google Chrome?
  • Menu on the top right of the browser (3 dots)+more tools+developer tools. I have a OS Command+Option+J
  • What does console.log function do?
  • Allows to enter data to the console, to perform math for example.
  • How can you change the contents of an HTML page through the console?
  • Using DOM (Document Object Model) and going to the Elements tab, there we can select the element me want to modify by double clicking on it.
1 Like
  1. Log in information as part of the JavaScript development process and carry out JavaScript expressions in the context of the page.
  2. More Tools - Developer Tools or, my favorite :), CTRL+SHIFT+J
  3. It logs expressions into the console
  4. By carrying out JavaScript expressions in the page context. However, reloading the page returns to its original content.
1 Like

What is the console used for?
Console is a basic computer or monitor and keyboard that is connected to another computer, server, or a mainframe over a network. It is used to maintain or monitor the status of the network or computer.

How do you open the Console in Google Chrome?
Use the keyboard shortcuts. On Windows and Linux: Ctrl + Shift + J. On Mac: Cmd + Option + J.
Select the Chrome Menu icon, menu -> More Tools -> JavaScript Console. Or if the Chrome Developer Tools are already open, press the ‘Console’ tab.

What does console.log function do?
The console.log() is a function in JavaScript which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user.

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

  • Log a DOM node to the console.
  • Right click on it.
  • Select Edit as HTML or Edit Text.
  • Notice the DOM is updated on the page and also in the Elements Panel.
1 Like
  1. The console provides us with the ability to write, manage, and monitor JavaScript on demand.
  2. CTRL + Shift + J
  3. It puts information to the console
  4. Inspect element. then, edit the element you want to edit
1 Like
  1. The console is used for debugging, and can be used to run javascript commands as well.

  2. You can right click and inspect the page and click on console. Or you can press f12 on a Mac.

  3. Console.log will print a message in the console when it is called.

  4. You can interact with any of the DOM elements and their properties in the console.

1 Like

1.Console allows you to test and monitor javascript within the loaded pages context.
2.Top right corner “Customize and control Google Chrome” --> “More tools” —>“Developer Tools” ----> “Console”
3.The console.log funtion holds the execution of code in the console and does not publish it on the website.
4. First make a html doc then open in browser and go to console and change things with document function.

1 Like
  1. The console is used to provide you with the ability to write, manage, and monitor Javascript on demand.
  2. CTRl + Shift + J on Microsoft
  3. console.log permits the developer to log data to the Console.
  4. By double clicking the element or content of interest in the Elements tab and entering new data.
1 Like
  1. The console is used to interact with a website, run javascript on said website, and to inspect the elements of the site.

  2. CRTL + SHIFT + J

  3. It is used to execute functions that do not interfere directly with the site’s appearance or functionality.

  4. Contents can be changed by accessing the elements tab.

1 Like
  1. The console is used to write and test Javascript programs as well as monitor how responsive website is.

  2. Click on three dots in top right corner of chrome -> More Tools -> Developer Tools, then click the developer tab. or short cut = Crtl + Shift + J.

  3. console.log function returns functions directly to the console.

  4. In the developer tab you can use the appropriate “document” function to change or add tags or attributes to the html website.

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.

  • How do you open the Console in Google Chrome?
    You can enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS

  • What does console.log function do?
    It logs information to the console

  • How can you change the contents of an HTML page through the console?
    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 Like
  1. The console allows you to write, monitor and manage javascript from the browser.
  2. Ctrl+Shift+J
  3. It can log outputs on the console. This can save time when developing the code.
  4. Right click + inspect the element you would like to edit.
1 Like
  1. The console on the browser can be used to test and run JavaScript code. Or inspect the code of a particular web page.
  2. On most browser you can right click the page and press inspect element. Ctrl+Shift+J is the keyboard shortcut on Linux/Windows and Ctrl+Option+J on Mac.
  3. console.log function will print whatever message we assign to it.
  4. We can do this through the DOM section.
1 Like
  1. What is the console used for?
    For debugging and interacting/experimenting with the web page.

  2. How do you open the Console in Google Chrome?
    CRTL+SHIT+J

  3. What does console.log function do?
    We use it to log our commands in the console without having the popup window generated by the “alert” command. We can now use the console as a shell.

  4. How can you change the contents of an HTML page through the console?
    By using JavaScript in the console.we can create and modify HTML elements.

1 Like
  1. To log information, and interact with the web page, like adding new content (not adding it to the original html file) or changing elements.

  2. F12 or Ctrl+Shift-J or in the settings menu

  3. It makes the calculation output appear in the console, not as an alert on the webpage.

  4. Through the DOM, or using JavaScript commands.

1 Like

1.The Console can be used for to log information,
to allow you to interact with web pages by carrying
out JavaScript expressions within the pages context.
2. Navigate to the menu at the top-right (three vertical
dots).
Select More Tools then Developer Tools.
A panel open where you can click Console.
3. We can logging JavaScript to the console with
console.log
4. Safe a HTML file and load it into the browser of your
choice. You see a blank page with Todays Date.
Open the console and work with JavaScript to
modify the page.

1 Like
  1. What is the console used for?
    It is used for editing a webpage on a webrowser and checking for bugs.

  2. How do you open the Console in Google Chrome?
    CTRL+SHIFT+J or the developer tools under more tools dropdown on the Chrome browser.

  3. What does console.log function do?
    It tries out functions and gives you results in the Console tool.

  4. How can you change the contents of an HTML page through the console?
    By using HTML functions within the Console tool.

1 Like
  1. The Console can be used to log information as part of the JavaScript development process. It allows the user to interact with a web page by carrying out JavaScript expressions within the page’s context. The Console provides the ability to write, manage, and monitor JavaScript on demand.
  2. Navigate to the menu at the top-right of your browser window signified by three vertical dots in a row. From there, 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. The keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS will bring up the Console.
  3. It confines the output of JS to the console.
  4. The console allows for direct input of code that interacts with the website currently loaded in the browser. It is good for experimentation, but it is not going to permanently change the code of the page.
1 Like
  1. What is the console used for?

The Console is a built-in Developer Console tool in the browser, with the capability to experiment with code writing, monitor and manage JS. However, these changes are not permanent, after refreshing the web page it will return to an original document. I take the Console more as a training ground throughout our learning.

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

I use a mac, then “command + option + j” (“i” to bring up Developer Tool or “j” to go straight to the Console), otherwise, triple vertical dots at the top-right corner - More Tools - Developer Tool on the bottom of the list.

  1. What does console.log function do?

The console.log, I understand it as a test workspace for the JS code to work on without altering original code.

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

To change content through the Elements tab, double click on the code.

1 Like

Q - What is the console used for?
It’s used to live test code on an existing webpage & Manipulate DOM

Q - How do you open the Console in Google Chrome?
Ctrl + Shift + j or F12

Q - What does console.log function do?
logs results into the JS console.

Q - How can you change the contents of an HTML page through the console?
Right click the HTML code in elements and select edit.

1 Like