Console - Reading Assignment

  1. What is the console used for?
    It is used to quickly test and modify a page without changing the website.
  2. How do you open the Console in Google Chrome?
    Go to triple dot, more tools then developer tools. Alternatively ctrl+shift+j for windows and cmd+opt+j for Macs.
  3. What does console.log function do?

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.

  1. How can you change the contents of an HTML page through the console?
    Through the console log It allows you to work within a specific context of the HTML and modify and test scripts.
2 Likes

@Lisandro_Rodriguez
English please Sir :slight_smile:

  1. What is the console used for?
    The console is used to interact with the webpage, giving the user the ability to test new lines of code prior to adding them.

  2. How do you open the Console in Google Chrome?
    CTRL+SHIFT+J

  3. What does console.log function do?
    It shows the output from a given input in the console.

  4. How can you change the contents of an HTML page through the console?
    Use the Javascript Developer Console to write Javascript expressions or use the DOM to change HTML elements.

1 Like

1. 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.
2. How do you open the Console in Google Chrome?
Meny button / More tools / Developer Tools
3. What does console.log function do?
It prints the result in console rather than alerting as a popup window to click ok.
4. 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. In this case, once you reload the page it will return to it’s original state.

1 Like
  1. What is the console used for?
    Itcan 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?
    ctrl +shift+ J

  3. What does console.log function do?
    this function send the outputs to the console

  4. How can you change the contents of an HTML page through the console?
    you can write a javascript expression and that function add or modifiy new elements on the page

2 Likes
  1. What is the console used for?
    The console is used to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    Open the menu in Chrome. Under “More Tools” select “Developer Tools.” The console can then be selected by the corresponding tab in the developer tools window.

  3. What does console.log function do?
    Outputs data to the Console, rather than as a pop-up.

  4. How can you change the contents of an HTML page through the console?
    Under “inspector” in Developer Tools, you may edit the DOM to produce real-time changes. If you refresh the page, however, you’ll return to the saved state of the HTML document.

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

  2. To open the console on Chrome you can click the verticle 3 dots in the top right corner. Select “more tools” then “developer tools”. Next, click console on the newly opened panel. The shortcut on windows is ctrl+shift+J.

  3. The console.log function is used for testing code on the browser.

  4. You can change the contents of an HTML pages using the Elements tab

1 Like
  1. The console is used to write, manage, and monitor JavaScript on demand
  2. Go to menu tab, hit developer tools, then hit console
  3. It outputs within the console
  4. You can open the html file in the console and begin modifying it
1 Like
  1. Lets you write, manage and monitor Javascript
  2. menu, more tools, developer tools
  3. console.log creates functions or actions within the console itself.
  4. You would need to copy the code written in console into the original referenced HTML document.
1 Like
  1. The console allows you to write, manage and monitor Javascript on demand.
  2. To open the console on Chrome you can click the verticle 3 dots in the top right corner. Select “more tools” then “developer tools”. Next, click console on the newly opened panel. The shortcut on windows is ctrl+shift+J.
  3. The console.log function is used for testing code on the browser.
  4. You can change the contents of an HTML pages using the Elements tab
1 Like
  1. The console is a terminal shell for working with javascript code
  2. [CTRL] + [SHIFT] + [I] - Google Chrome
  3. Console.log function allows 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 interact with the HTML pages DOM through Javascript using the “document” object and modifying it.
1 Like

1.The console provides you with the ability to write, manage and monitor JavaScript on a web page in a live/instant setting.
2.I like to use F12 but the article suggests CTRL + SHIFT + J
3.The console.log function allows us to log outputs within the console rather than on the page itself
4.Through JavaScript engaging with the pages DOM by either adding, removing or tweaking

1 Like
  1. the console is a tool which provides access to the browser and It enables us to interact with a web page by executing JavaScript expression in the contents of the page like the ability to write, manage, and monitor JavaScript on demand
  2. By choosing Developer Tools from the top menu bar or by using the keyboard shortcut CTRL + SHIFT + J
  3. Console.log, longs results into the JavaScript console after we’ve log data such as text massage even and complicated math
  4. We can modify HTML pages using the JavaScript code for example elements such as document.createElement() within the context of existing HTML and create a more dynamic page
1 Like

1/ the console is a tool to see the structure of how the page is built and also allows us to rewrite it at will

2/ CTRL + SHIFT + K or 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/is a way to add code to the page

4/ inspecting what you want to change and doing it through the console and its tools

1 Like
  1. Console on demand provide the ability to write, manage, and monitor javacript.

  2. Go to top right of your browser click and go to more tools then develop tools.

  3. Allows you to impact javascript code.

  4. Enabling the DOM

1 Like

3.console.log() is a function used to print any kind of variables defined or to just print any message that needs to be displayed.

    • 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 the ability to write, manage, and monitor JavaScript on demand.
  2. Menu > More Tools > Developer Tools
  3. It’s a function that brings the output of whatever values we enter between brackets
  4. By using JavaScript commands within it.
2 Likes
  1. The console is used for logging info as part of the JS dev process, as well as to interact with the webpages existing code or to adding new code in a testing environment. The console allows you to write, manage and monitor JS on demand.

  2. Right click > inspect.

  3. Console.log is a function that logs a message to the debugging console without displaying anything on the screen.

  4. By double clicking on any html element in the elements tab and making the change.

2 Likes
  1. What is the console used for?
    The console basically provides the ability to write, manage and monitor JavaScript on demand.
  2. How do you open the Console in Google Chrome?
    Top right -> More Tools -> Developer Tools, or through the keyboard shortcut (CTRL + SHIFT + J).
  3. What does console.log function do?
    Provides a space to try out JavaScript code in real time.
  4. How can you change the contents of an HTML page through the console?
    By going to the Elements section in the Console and double click the element, tag or attribute you want to change.
2 Likes
  1. What is the console used for?
  • Console writes to the console of the browser. The console is used for logging info as part of the dev process. The console allows you to write, manage, and monitor the script.
  1. How do you open the Console in Google Chrome?
  • You can open the console by right clicking and then pushing “inspect”
  1. What does console.log function do?
  • When you use console.log, you can log a message to the browser without it changing the underlying website material.
  1. How can you change the contents of an HTML page through the console?
  • You can change the contents of an HTML page through the console by double clicking on the html element in the elements tab and making the change.
2 Likes