Console - Reading Assignment

1. What is the console used for?
The console allows the developer to interact with the JavaScript code and the browser. It does so by giving the developer the ability to write, manage, and monitor JavaScript on-demand.

2. How do you open the Console in Google Chrome?
As a Mac user: You can press Option + Command + J. Or on the browser: Click Ellipsis > More Tools > Developer Tools.

3. What does console.log function do?
Console.log will show what’s expressed without a pop up element that needs to be closed such as in the alert function.

4. How can you change the contents of an HTML page through the console?
Content of an HTML page can be modified with many functions such as but not limited to:
let t = document. As well as operating within the DOM to influence and manage various style sheets and browser-specific parameters.

2 Likes
  1. The console allows you to execute JavaScript commands within the webpage.
  2. It logs the information in the JavaScript console.
  3. By using inspect element.
1 Like
  1. What is the console used for? Tools to inspect the DOM, debug and analyze network activities. Can be used to log information as part of the Java development process. Allows a user to interact with the web page by using Javascript expressions. The ability to write, monitor and manage Java Script on demand.
  2. How do you open the Console in Google Chrome? Click on the 3 dots in the upper right corner, then click more tools, and developer tools.
  3. What does console.log function do? Print out the outputs and log information to the console
  4. How can you change the contents of an HTML page through the console? DOM Document Object Model allows you to inspect and edit DOM elements, also allows you to identify HTML related to the aspect of the particular page. DOM can show the user whether a text snippet or image has a ID attribute and what the attribute’s value is.
1 Like
  1. What is the console used for?
    It allows you to write and monitor Javascript within a web browser.

  2. How do you open the Console in Google Chrome?
    The three dots in the top right corner, more tools, and then developer tools. Also by pressing ctrl + shift + J on Windows.

  3. What does console.log function do?
    It prints (logs) the results from the given instruction within the console window.

  4. How can you change the contents of an HTML page through the console?
    You can manipulate the DOM.

2 Likes
  1. What is the console used for?
    The Console is a development tool built-in modern browsers that provides you with the ability to write, manage, and monitor JavaScript on-demand. It is a space to experiment

  2. How do you open the Console in Google 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. What does console.log function do?
    Helps the user to log into the console avoiding pop-up alerts. It also outputs information to the console

  4. How can you change the contents of an HTML page through the console?
    Next to the “Console” tab is the “Elements” tab within which is the Html document.

1 Like

Questions:
. The console logs information and allows for interaction with the web page, including the execution of code.
. Navigate the menu in the top right of the browser window, then select more tools and then developer tools before clicking on the open panel to open the JavaScript.
. This allows for the user to log into the console without the need for pop ups.
. You can open up the console by clicking and saving a line of code before using JavaScript to modify the code.

1 Like
  1. What is the console used for?
    It’s a tool that allows you to experiment and execute Javascript code
  2. How do you open the Console in Google Chrome?
    Click menu at the top right of the browser >more tools >developer tools > select Console
  3. What does console.log function do?
    It gives information to the Console
  4. How can you change the contents of an HTML page through the console?
    You can’t
2 Likes
  1. Console use for modify HTML within the browser
  2. Go to 3 dots tab>More Tools>Developer Tools>
  3. execute or print the command in console
  4. Inspect the web page and change it on DOM
1 Like
  1. What is the console used for? Console is used for used for writing and debugging javascript in realtime.

  2. How do you open the Console in Google Chrome? Right click, go to inspect. Or customize tab/more tools/ dev tools

  3. What does console.log function do? It allows you to use javascript in real time to evaluate your webpage in realtime.

  4. How can you change the contents of an HTML page through the console? An HTML website when loaded creates a Document Object, Model (DOM). The HTML objects can be accessed using console and javascript in real time. You can modify the page, change styles, and test aspects of your webpage, however these changes are not made permanently to the webpage through console exclusively.

1 Like

Consoles are essentially a log of code that has gone into the JavaScript developmental process. The console also allows for writing, managing and monitoring of JavaScript code.

You can access the console via the drop down menu in the upper-right-hand corner which will show you the ‘More Tools’ option and from there you will select ‘Developer Tools.’

Console.log holds and logs the execution of code in the console which is not published to the wesbite.

Inspect an element on a page will bring you to the console, where you able to modifying aspects of the code. This will only change for you and not anyone else accessing the webpage.

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. 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.
  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. Alternatively you can use the Control+Shift+J command as a shortcut.
  3. What does console.log function do?
    A: Enables you to work with the console without pop ups.
  4. How can you change the contents of an HTML page through the console?
    A: By using the document element inside the console.
1 Like
  1. What is the console used for?
    The console is used to provide the ability to write, manage and monitor Javascript on demand allowing you to log information and interact with the web.

  2. How do you open the Console in Google Chrome?
    F12 then click on the console tab or CTRL + SHIFT + J

  3. What does console.log function do?
    The console.log function passes the command through the console allowing us to try out JavaScript code in real time.

  4. How can you change the contents of an HTML page through the console?
    By using JavaScript code in the console within the context of html.

1 Like
  • What is the console used for?
    • place to experiment and test out modifying html docs with javascript, these are not ‘permanent’ changes tho, and they will reset once you refresh the page
  • How do you open the Console in Google Chrome?
    • using brave - f12
    • google chromes - ctrl-shift-3
  • What does console.log function do?
    • outputs a message to the web console
  • How can you change the contents of an HTML page through the console?
    • add javascript!
1 Like
  1. 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, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  2. click menu at the top-right corner of your window (three vertical dots in a row) Then go to More Tools then Developer Tools and you there you can find console

  3. console.log() is a function that writes a message to log on the debugging console

  4. Using the document command you change the contents of an HTML

1 Like

1.It 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. F12 or Ctrl+Shift+I
3. To receive the output in the console.
4. By using the ‘document.’ object

1 Like

1[quote=“ivan, post:1, topic:3109, full:true”]
Welcome to the discussion thread about the Console. Leave your answers to the questions below in this thread. If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread as well, but please everything to the topic.

  1. What is the console used for?
    It is used when wanting to edit or change the appearance of a webpage interface.
  2. How do you open the Console in Google Chrome?
    Go to 3 small dots on top right hand corner, click, it will pull tab, go to More tools, click, scroll to Developer tools, click, go to Elements, click.
  3. What does console.log function do?
    It is a performance function. Math, find current date and time, ect.
  4. How can you change the contents of an HTML page through the console?
    Double click on the element you want to change.
1 Like
  1. Console is used to test edits/appearance to a webpage.
  2. Command+Control+J on MacOS. You can also access developer tools through the three small dots in the top right and navigate to Console.
  3. Logs results to the console instead of pop-ups and allows to test in real-time.
  4. Load the HTML file into your browser of choice and then open the console. However, changes are only temporary and will disappear as soon as you refresh the page.
1 Like
  1. What is the console used for?
    To write Javascript

  2. How do you open the Console in Google Chrome?
    Three dots upper right hand corner, select ‘more tools’, select ‘developer tools’.

  3. What does console.log function do?
    Write Javascript within the console.

  4. How can you change the contents of an HTML page through the console?
    By changing ‘Document Object Model’, elements in Inspector or Elements panel.

1 Like

i tried ,but it did’nt wok .
what could be the problem please?

1-console grant us the ability to write and test codes into the Js webpage, helps us to debuging elements, monitor documents objects model (DOM)

2-either you press directly .f12 or you opengoogle chrome and click inspect.

3-the console.log function mostly helps us to log outputs or put information into the conlole

4-to change the content of an HTML through the console; you can right click the element tab and selecting edit as HTML object

1 Like