Console - Reading Assignment

  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.”

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

CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS

or

F12 an then click on Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already

  1. What does console.log function do?

“With console.log we can work with JavaScript by logging it to the Console, rather than have pop-up alerts that we need to continue to click out of.”

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

Typing JavaScript code in the console and also change the code in the Inspector panel in Firefox or the Elements panel in Chrome.

1 Like
  1. Console allows log information, interact with Web across Java Script language, and monitor and manage Java Script.
  2. As author said, the manual “way” will be " 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.".
  3. Avoid see the ouputs by popping out windows or printing on the webpage. Allows get outputs directly.
  4. Open HTML file in a browser to open console and then with Javascript updates or changes contents.
1 Like
  1. The console is used to manage, write and monitor Javascript on demand in a browser.

  2. F12 key

  3. It shows the result of a code directly on the console and not in the webpage.

  4. Through the DOM (Document Object Model).

1 Like
  1. It is used to interact with a web page by implementing javascript code lines.

  2. You press F12 or right-click and select “Inspect element”.

  3. The command prints the input value from the console.

  4. Via DOM. The HTML elements cand be accessed and modified from there using Javascript.

1 Like
  1. The console is used for writing and monitoring and also for interacting with a website using javascript expressions.

  2. Control + Shift + J

  3. You can use it to log something to the console when something happens.

  4. You can use the document command.

1 Like
  1. To check log information and interact with a web page using Javascript on demand.
  2. Menu > More tools > Developer tools or just F12
  3. Prints output to the console.
  4. In can be done for DOM via Inspector/Elements panel.
1 Like
  1. Console is used to use JawaScript language from your web browser!
  2. Few ways to open,(a) Press the 3 dots top right on Chrome browser than more tools than developer tools. (b) Ctrl + Shift + J , © press F12
  3. Consol.log function allows you to do a input with JS.
  4. By using Console you can make JS inputs and change the look of websaith. Than go to Elements than Filter, you can access the HTML input and make changes of the inputs(fine tune colours etc…) . Than you can copy the changes to your actual HTML if you like .
1 Like
  1. The console is a command line interface in
    your browser that can execute snippets of
    code without changing the document being
    viewed.
  2. The console may be opened in Chrome by
    first selecting the three vertical dots at the
    top right of the page, then “More Tools,”
    then “Developer Tools,” then “Console.” It
    may also be opened by the shortcut
    CTRL + SHIFT + J.
  3. The “console.log” function is useful for
    testing and viewing the outcome of the
    code without changing the document. It is
    also useful for debugging JavaScript that
    is not working as expected by allowing you
    to run lines of JavaScript on the page
    currently in the browser, and reporting the
    errors that are found as the browser tries
    to execute the code.
  4. The contents of an HTML page may be
    changed through the console by using one
    of the following options: innerHTML,
    innerText, or textContent. Each of these
    commands searches for a particular HTML
    attribute and overwrites it with JavaScript
    content.
1 Like
  1. The Console provides with the ability to write, manage and monitor JavaScript on demand.

  2. Options>more tools>Developer tools.

  3. To print the string we want within the Console.

  4. As soon as you reload a page following modifying it with the Console, it will return to its state prior to your modifying the document. Need to save changes we would like to keep elsewhere.

1 Like
  1. What is the console used for? Provides you with the ability to write, manage and monitor javascript on demand.

  2. How do you open the Console in Google Chrome? Click 3 vertical dots at top right of browser then select more tools > developer tools > console

  3. What does console.log function do? It logs a message o a debugging console

  4. How can you change the contents of an HTML page through the console? Once you have taken a html file & loaded it to the browser you can then open up the console to continue modifying the page. This will only show until you decide to reload the page where it returns to its previous state

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

  2. Three Dots - More Tools - Developer tools or Control + Shift + J

  3. Function that writes a message to log on the debugging console

  4. Document object model or DOM

1 Like
  1. What is the console used for?
    A. 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?
    A. 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. You can also enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS, which will bring focus immediately to the Console.

  3. What does console.log function do?
    A. It can do math and print out an output.

  4. How can you change the contents of an HTML page through the console?
    A. You can also 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.

1 Like
  1. Console is used to write JS in the browser on demand.
  2. alt + cmd + i
  3. it logs the info into the console
  4. after reloading the page you can start using console again to modify that page. if you reload the browser it will go back to previous page unless you save the project
1 Like

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

2: Top right bar, more tools, then developer tools, that they should bring up the console to work on Javascript.

3: allows you to do computations such a console.log(2+23); = 25. will show up in the code.

4: you can use the document element inside the console.

1 Like

What is the console used for?
-the Console provides you with the ability to write, manage, and monitor JavaScript on demand via your web browser.
How do you open the Console in Google Chrome?

  • Go to menu (three dots) then click on more tools > developer tools > console
    What does console.log function do?
    -console.log allows us to create a pop-up alter just once, so that we are not compelled to continually log out of it on every page load.
    How can you change the contents of an HTML page through the console?
  • Using the console you can insert javascript into the html structure of the given page that you are working on. Using javascript we can and and modify the elements, functions and aesthetics of the page.
1 Like
  1. What is the console used for?
    Use as part of a JavaScript development process, allowing interaction with a webpage.

  2. How do you open the Console in Google Chrome?
    3 vertical dots --> More Tools --> Developer Tools --> Console

  3. What does console.log function do?
    This is a function useful in debugging.

  4. How can you change the contents of an HTML page through the console?
    This is done straight in the console.

1 Like
  1. What is the console used for?

can be used to log information or to interact with a web page and their JavaScript expressions

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

Ctrl + Shift + J

  1. What does console.log function do?

logs info into the Console

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

you can type the up arrow ↑ key on your keyboard to retrieve the previous command, edit the command if you need and send it again.

1 Like

1- the console can be used to log information, interact with the web page. It provides you with the ability to write, manage javascript on demand.

2- click on the 3 dots on the top right corner, from there select More tools, then Developer Tools. then will open a panel where you can click on Console in the top menu.

3- It provides you with a space to try out JavaScript code in real time.

4- After you click the console tab, there is an element tab where the html document is, so you would be able to modify it.

1 Like
  1. What is he console used for?
    The console gives you the ability to essentially write, monitor, and manage Javascript on demand.

  2. How do you open the console in Chrome?
    Control + Shift + J, or through the … menu through; more tools/ developer tools.

  3. . What does console.log function do?
    We can perform math equations with that command.

  4. How can you change the contents of an HTML page through the console?
    We can use the console to change the contents, then you must save them to another folder or file.

1 Like
  1. The Console is used to log information as part of the JavaScript development process, as well as to 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. Navigate the menu at the top-right of your browser window signified by three vertical dots in a row, left-click More Tools, left-click Developer Tools. A panel will be open. Left-click on Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already.

  3. It programs alerts to be shown when alerts are written on the algorithm, it calculates simple mathematical operations, it computes varying statements such as date and time, etc.

  4. Double left-clicking the tag, selecting the element or content we want to edit in the Elements tab and entering the new data in.

1 Like