Console - Reading Assignment

Console is used can be used for to write, manage, and monitor JS on demand

Three drops up in the right corner ……flere verkjøj ……. utviklerverktøj …… console

Using console.log you can get all kinds of “outputs” when interacting with the webpage via console. Like, text, calculations, date entering, etc.

Open console on my HTML page and use JS to interact and modify the HTML my way

1 Like

1.- Console is useful to troubleshoot the website or do changes in the code without the need to got to the program itself.
2.- Click hamburger icon in the right corner of a webpage / more tools / developer tools.
3.- Quick console edition to check outputs without to change the program itself.
4.- Go to Inspect, Elements and double click the code.

1 Like

[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?
    The console can be use to write,manage and monitor javascript on demand.It can also be used to log information as well interact with a webpage by carrying out the JavaScript Expression.
  2. How do you open the Console in Google Chrome?
    By clicking the 3 dots in a vertical style to reveal to reveal A MENU and scroll down to MORE TOOLS, and Click DEVELOPER TOOLS and a tab of Console can be clicked OR CTRL+SHIFT+I
  3. What does console.log function do?
    This is use to log to log the expected output to be revealed on the console platform itself rather than clicking off on the web page itself.
  4. How can you change the contents of an HTML page through the console?
    By using Javascript command/code inside the console of the HTML and save changes after you can then be able to modify the HTML page.
1 Like
  1. With the console, you can interact with a webpage in real time. Used to monitor, modify or test/demo various code.
  2. Press F12
  3. Outputs whatever is run in the console
  4. Modify elements with code
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?
    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. What does console.log function do?

It logs in data to the console.

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

You can work within the context of an HTML file or a dynamically-rendered page in the Console. And saving the modified HTML page to your computer.

1 Like
  1. We use Console to writ, manage and monitor JavaScript within a web browser
  2. Console in Chrome can be opened By Inspect or Ctrl+Shift+I
  3. Console.log allows to log data to Javascript Console
  4. We can change the content of HTML page by using the document element inside console.
1 Like
  1. A console is used to change or add to HTML or Javascript of a website temporary.
  2. (Brave Browser) Setting/More tools/Developer Tools
  3. It writes to the web page.
  4. By using the Elements tabs and double clicking on the item you want to change.
1 Like
  1. Console is used for writing JS code.
  2. Click three dots top right corner of browser>More tools>Developer tools
  3. it logs output to the console
  4. Go to document element int the console and you can modify HTML contents.
1 Like
  1. What is the console used for?

a console is utilised to aid developers in seeing if there is an error in their code or in what they have created, the console can be utilised in a number of ways having error logged or console logging information and outcomes from functions/methods.

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

view > developer tools > developer console

  1. What does console.log function do?

thisprints to the console the information that you have asked to be logged or presented to you for example the output of a function.

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

Through the DOM. Elements are defined and can be accessed and modified using JavaScript.

1 Like
  1. Console is used for providing you with a space to experiment with modifying HTML pages without changing the HTML document.
  2. Key command Ctrl+Shift+J on Windows or Linux, or Command+Option+J on macOS
  3. Console.log allows to record/log data to the console
  4. We can change the contents of an HTML page by using the Elements panel in Chrome/Brave.
1 Like
  1. What is the console used for? Provides the ability to write, manage and monitor JavaScript on demand.

  2. How do you open the console in Google Chrome? The pathway is as follows: MENU then MORE TOOLS then DEVELOPER TOOLS then click CONSOLE.

  3. What does console.log function do? Where you can submit an INPUT once you are in “Console”

INPUT >>console.log (“Hello, World!); should produce the following OUTPUT Hello, World!

INPUT >>console.log (2+6); should produce the following OUTPUT 8

  1. How can you change the contents of an HTML page through the console? You can edit content by using the document element inside console.
1 Like
  1. The console allows you to write, manage and monitor JS on demand.
  2. Menu > More tools > developer tools
    3.console.log allows you to log into the console
  3. You can change the HTML page by using the document element
1 Like
  • What is the console used for?

Provide with the ability to write, manage, and monitor javascript on demand.

  • How do you open the Console in Google Chrome?

Navigate through the menu, select More Tools, then select Developer Tools

  • What does console.log function do?

Math Calculations

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

Document objects

1 Like
  1. A console is a developer tool to add code and see what it does with out having to change the site completely because it reverts back to original after you reload the page

  2. ctrl, shift, and i. opens up the console on google chrome

  3. The console.log function allows you to get real world data at real time for example today’s date and time, and math calculations. on top of that you can send alerts messages with console.log function

  4. Double click on the line of code you want to change

1 Like

1.What is the console used for?
2. How do you open the Console in Google Chrome?
3. What does console.log function do?
4. How can you change the contents of an HTML page through the console?

  1. Consoles are used to interact with the website and try out Javascript code within the web browser and how it reacts with the browser.
  2. I dont know how does it open for Google Chrome particulary, as i am using Brave browser. In Brave browser it is as follows: open the menu ≡, open then More Tools -> Developer tools. Once inside Developer tools we go to tab Console
  3. Console.log function shows the results in the console itself.
  4. You cannot change the contents of an HTML page through the console, because it will return to its original once we refresh the website.
1 Like
  1. To run Javascript commands on a webpage.
  2. By pressing F12 or right clicking and choosing “Inspect”.
  3. Displays a function according to the code.
  4. Through DOM (Document Object Model).
1 Like
  1. What is the console used for?

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?

Menu → More Tools → Developer Tools

  1. What does console.log function do?

Console.log function is used to print the text of the string on the screen. “.log” basically means that it lets something appear.

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

This can be done through the DOM, but the changes will disappear after the page will be reloaded.

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. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  1. 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. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console.

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

  3. The DOM Tree is available to view within the Inspector panel in Firefox or the Elements panel in Chrome. These tools enable you to inspect and edit DOM elements and also let you identify the HTML related to an aspect of a particular page.

1 Like
  1. It is used for writing, managing and monitoring JavaScript in the web page context.
  2. In Google Chrome, you need to navigate to the menu in the top-right corner, and then to ‘More tools’ and ‘Developer Tools’.
  3. Console.log function outputs information to the console.
  4. It can be done by using the document element in the console.

1.A web console is a build-in tool accessible from the browser. It is used to test and debug Javascript.
2.Click 3 vertical dot upper right corner->More tools->Developer tools->Console tab on top.
3.log() is a function of Console thus console.log(). It prints out whatever you want to log to the Console.
4. You can change HTML from Inspect/Element tab by select and right-click and select Edit HTML.

1 Like