Console - Reading Assignment

1- The Console provides you with the ability to write, manage, and monitor JavaScript on demand.
2- by using the keyboard shortcut CTRL + SHIFT + J
3- 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.
4- You have access to DOM in the element panel and you double-click a selected element and make changes.

1 Like
  1. Console is used to execute Javascript commands on the current webpage.
  2. other tools> Developer Tools
  3. a value output
  4. It lets you inspect and modify certain elements
1 Like
  1. What is the console used for?
    A: It lets you inspect the JavaScript code of the webpage you have open while allowing experimental script updates and testing on the fly, without compromising the integrity of the webpage’s HTML file.

  2. How do you open the Console in Google Chrome?
    A: Through ‘Developer Tools’ in the browser menu or CTRL+SHIFT+J.

  3. What does console.log function do?
    A: It displays the output of any JavaScript updates you apply in the console log.

  4. How can you change the contents of an HTML page through the console?
    A: You can live-edit HTML of an open webpage via the Elements tab next to the console in the developer’s tools.

1 Like
  1. The console enables you to manage, write and monitor JavaScript on demand.

  2. Ctrl + Shift + J ( Windows ) / Cmd + Option + J ( Mac )

  3. Logs results into the JavaScript console.

  4. Via modifying the document object model with JavaScript

1 Like
  1. What is the console used for?
    The console provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. 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.
  3. What does console.log function do?
    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.
  4. How can you change the contents of an HTML page through the console?
    By accessing the DOM tree of a webpage, it is possible to live-edit a DOM-node and modify the contents.
1 Like

[quote=“ivan, post:1, topic:3109”]

  • What is the console used for?
    Used to interact with elements on the webpage via javascript. All the changes you perform are temporary unless saved in a file elsewhere.

  • How do you open the Console in Google Chrome?
    Crome [CTRL] + [Shift] + [I]

  • What does console.log function do?
    It is a tool for developers to test their code in real time without making a major changes within the cousole not the browser

  • How can you change the contents of an HTML page through the console?
    Insepct within chrome, anything you do is temporary unless saved as a file elsewhere. You can change the words, colors etc.

1 Like

*** What is the console used for?**
the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  • How do you open the Console in Google Chrome?
    Developer Tools

  • What does console.log function do?
    he 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?
    ou can modify the contents of an HTML page by using the document element inside the console.
    [/quote]

1 Like
  1. the console is used to experiment executing JS commands on the HTML webpage.
  2. command + option + K.
  3. it 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.
  4. you can change contents of a webpage through the DOM feature.
1 Like
  1. What is the console used for?
    The console provides an interface to directly interact with the webpage and modify it using Javascript. The modifications will be directly visible, so it is an experimentation ground.

  2. How do you open the Console in Google Chrome?
    for Mac command + option + J

  3. What does console.log function do?
    It creates an printed output

  4. How can you change the contents of an HTML page through the console?
    By entering javascript commands in the console the page is being changed. But the original html document is not changed. As soon as it is reloaded all changes made in the Console are erased. In the Inspektor Tab the entire html with the changes can be looked at. But I have not found out, how to implement the changes into the HTML file other than copy/paste.

1 Like
  1. What is the console used for?
    –> To check the results immediately whenever we write a command. “Essentially, the 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

  3. What does console.log function do?
    –> It gives the possibility to work with alerts and test its results directly on the console, avoiding then the pop-ups that we need to click out of to continue to work.

  4. How can you change the contents of an HTML page through the console?
    –> Ctrl+Shift+J
    Elements
    Including the functions that you want to add or modify (such as document.body.appendChild(p);)

1 Like
  1. What is the console used for?
  • provides you with the ability to write, manage, and monitor JavaScript on demand.
  1. How do you open the Console in Google Chrome?
  • Menu -> More Tools -> Developer Tools; or
  • CTRL + SHIFT + J
  1. What does console.log function do?
  • It is used to print messages that may need to be viewed by the user.
  1. How can you change the contents of an HTML page through the console?
  • By moving to the elements panel you can view the document objects model (DOM). From here you can view and edit the HTML elements.
1 Like

1.Console is used to write Java Script program.
2. Press tree dots in the right then choose more tools -> developer tools -> choose console in the panel which will appear
3.Console.log function print on screen the argument given
4.by using JavaScript commands

1 Like
  1. What is the console used for?
    The console provides an interface within the browser for working with Javascript code locally - for testing, debugging, experimenting, etc.

  2. How do you open the Console in Google Chrome?
    Command+option+J

  3. What does console.log function do?
    Executes Javascript commands within the console itself.

  4. How can you change the contents of an HTML page through the console?
    In the “elements” section of the console, double click the element you want to change.

1 Like
  1. What is the console used for?
    To test and inspect javascript on a live document.
  2. How do you open the Console in Google Chrome?
    F12
  3. What does console.log function do?
    Gives you output directly without pop ups.
  4. How can you change the contents of an HTML page through the console?
    You can inspect elements and change them accordingly using HTML/JS.
1 Like

1.The Console can be used to lof information as part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions with the pages context.

  1. To open the Console in Google Chrome, navigate to menu at the top right of your window signified by the three vertical dots in a row. From there, you can select more tools then Developer Tools.

  2. We can work with JavaScript by logging it to the Console. log.

  3. 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 is used to keep track of your Javascript progress and interact with the webpage
2.) 3 dots at the top left of the screen, more tools, developer tools
3.) Puts the info within the console itself
4.) Using Javascript within the console to edit the HTML page

1 Like
  1. The console allows you to write, manage, monitor JavaScript on demand.

  2. Open the “customize and control chrome tab”
    Click on “More tools”
    Click on “Developer tools”
    Click on “console”

  3. The console.log function allows us to display content within the console.

  4. Access the HTML page via the DOM tree
    Access the DOM tree via the Inspector tab (Firefox) or elements tab (Chrome)
    Double-click on the element you wish to edit

1 Like
  1. The console is used to execute JavaScript commands within the context of a webpage.
  2. Option + Command + I (on Mac)
  3. The console.log function is used to log information onto the console to verify or check and variable or result.
  4. By clicking on the ‘Elements’ tab and viewing the DOM and double clicking the element you wish to change.
2 Likes
  1. What is the console used for?
    -The console provides the ability to to write, manage, and monitor Javascript on demand. It is similar to a Shell Interface.

  2. How do you open the Console in Google Chrome?
    You can go to settings and developer tools on the top right of the browser or option-command + J on Mac

  3. What does console.log function do?
    It takes in an input and puts out the output.

  4. How can you change the contents of an HTML page through the console?
    -you can go on Google Chromes elements panel and double click a line to edit.

1 Like
  1. The JavaScript Developer console is used to log developmental data and allows for monitoring with web page interaction. Console allows the developer to write, manage, and monitor on demand.

  2. You can open Console in Chrome by going to the vertical, three dot menu in the top right corner and selecting More Tools -> Developer Tools - > Console (on top menu bar) or by the shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS.

  3. The console.log function allows you to log your code directly without having to deal with all the pop-up alerts. Its functionality includes basic text output, computation, multiple lines with variables for functions, etc. This allows for real-time trials similar to a terminal shell interface.

  4. One can change the contents of an HTML page through console by using the DOM (Document Object Model) of the page (Inspector panel in Firefox; Elements panel in Chrome). Allowing you to both inspect and edit the content of the page directly from Console.

1 Like