Console - Reading Assignment

  1. Console is used for executing JavaScript commands

  2. Right click on Google Chrome page, open inspect, open Console

  3. It logs information in JavaScript Console.

  4. By using the document inside the console.

1 Like
  1. The console is a window in which developers may interact with the elements of the webpage using javascript code. Imputs may be directly typed, in javascript code language, and functions can be performed to calculate outputs.
  2. In Chrome, the console can be accessed by clicking on the three vertical dots on the top RHS of the web browser. Select from the drop down menu, ā€œMore Toolsā€ and then ā€œDeveloper Tools.ā€
  3. Console log function instructs the computer to log the output of an input within the console.
  4. Within an existing HTML page, the console enables the developer, using javascript coding language, the ability to modify that page in real time.
1 Like

1 - Is used for development process of JAVASCRIPT

2 - Ctrl+Shift+J

3 - To help the user log into the console without pop-up alerts.

4 - Dom/elements in chrome and you can change content

1 Like

What is the console used for?
The console is used to manipulate different webpages in real-time with Javascript code. This will be very beneficial for a developer during development of a webpage with capabilities to try different Javascript code and see results immediately.

How do you open the Console in Google Chrome?
By navigating to the three dots in the upper right corner, then more more tools and developer tools. Then press the console in the panel that is visually present.

What does console.log function do?
It moves the output to the console instead of the actual webpage. When executing a Javascript code then the result of that execution will be presented in the console window.

How can you change the contents of an HTML page through the console?
You can modify the content of an HTML page either through Javascript code or directly using the DOM by pressing on the element you want to modify. This will however not make any real permanent changes to the HTML file, after you reload the page it will be restored to the previous saved state.

1 Like

1.What is the console used for?
The Console let you interact with a web page by carrying out JavaScript expressions, That means you can write, manage, and monitor JavaScript on demand.

  1. How do you open the Console in Google Chrome?
    Go to 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. Click on ā€žConsoleā€œ
    I use the Shortcut: Ctrl + Shift + I

  2. What does console.log function do?
    With console.log you can use JavaScript by logging it to the Console or use it to perform math in the console or work on multiple lines with variables

  3. How can you change the contents of an HTML page through the console?
    To modify a command that you passed through the Console, you can type the up arrow key on teh keyboard to retrieve the previous command. This will allow you to edit the command and send it again.

1 Like
  1. Console is a development tool built-in a browser, so one can write, monitor and experiment with different Javascript elements and see the result instantly
  2. top right menu, select more tools, developer-tools, paneel optens, click console (or shortcut ctrl,+shift+J)
    3.text inputs, also math-functions,multiple lines
    4.HTML-page can be modified by inserting Javascript text, or change colors, background… many options
1 Like
  1. What is the console used for?
    Interacting with javascript on a web page.
  2. How do you open the Console in Google Chrome?
    CTRL + SHIFT +J
  3. What does console.log function do?
    It let’s you write javascript in real time by letting you use a terminal shell interface.
  4. How can you change the contents of an HTML page through the console?
    You can open up the console function and modify the page by working with javascript.
1 Like
  1. The Console can be used to log information as part of the JavaScript development process
  2. 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. the console log can let you solve math equations and set the date
  4. Tree is available to view within the panel in Firefox or the Elements panel in Chrome.
1 Like
  1. What is the console used for? A way to write, inspect and test script in real-time on a web browser
  2. How do you open the Console in Google Chrome? Click on … > More Tools > Developer tools
  3. What does console.log function do? To send an output to the console
  4. How can you change the contents of an HTML page through the console? By modifying the HTML code directly from the console
1 Like
  1. The Console provides you with the ability to write, manage, and monitor JavaScript on demand in the web browser.

  2. 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. Console.log function allows you to work with JavaScript by logging it to the Console.

  4. You can change the contents of an HTML page through the console by using CSS and or Javascript codes in the console.

1 Like
  1. What is the console used for?
    The Console in the is used to debug JavaScript, analyze DOM and HTML errors. Simply it’s an environment where you can test your code to see if it’s working the way you intend it to.

  2. How do you open the Console in Google Chrome?
    To open the Console in Google Chrome, go to: View > Developer > JavaScript Console.

  3. What does console.log function do?
    This method outputs an object to the console. Console.log is an instruction that commands the console to log something to the computer screen.

  4. How can you change the contents of an HTML page through the console?
    You can change the HTML contents through the ā€œelementā€ part of the console, double click the part that you want to change and then make the changes you wish to make.

1 Like
  1. What is the console used for?
  • The console is used to log information as part of the JavaScript Development process, as well as allow a user to interact with a web page by carrying out JavaScript expressions with the page’s context. Essentially, the console provides the user the ability to write, manage, and monitor JavaScript on demand
  1. How do you open the Console in Google Chrome?
  • Command + Option + J
  1. What does console.log function do?
  • Logs data (info) into the console
  1. How can you change the contents of an HTML page through the console?
  • Use the element tab by double clicking it and make changes
1 Like
  1. The console is a developer tool use to add java script and html to develop a web page

  2. In google chrome you can open the console by going to pull down ā€œmore toolsā€ and ā€œdeveloper toolsā€.

  3. The console.log function allows the console to execute html and script.

  4. You can change the contents of the html page using the console and console.log function to execute new script and html but it will not be saved.

1 Like
  1. What is the console used for?
    It allows you to write, manage and monitor JavaScript on demand, to see how expressions work within the web page’s context. It gives you a space to experiment with modifying HTML pages, but doesn’t actually change the document.

  2. How do you open the Console in Google Chrome?
    Ctrl + Shift + J on a Windows device
    or up to 3 dots at top right of Chrome\More Tools\Developer Tools, then select Console on the tabs.

  3. What does console.log function do?
    The console can log the data using this function, it prevents the popup alerts so we don’t need to keep clicking out of them.

  4. How can you change the contents of an HTML page through the console?
    Go to the Elements tab (next to Console), double click on an Element and change it, however these changes will be temporary, when the page is refreshed/reloaded it will return to the original format. To make the changes permanent, they must be copied and then updated in the original document.

1 Like
  1. 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. Settings -> more tools -> developer tools

  3. It keeps the Javascript running within the console

  4. Open the HTML page. Open developer tools and begin running code in the console.

1 Like
  • The console log is used to test code on the web page
  • To open console in Google Chrome on a Mac is shortcut command + option + J
  • The console.log outputs onto the console as opposed to a pop up
  • You can use Javascript in the HTML on the console to test. It will disappear upon refresh though, so save it elsewhere. You can live-edit in the Elements tab but that too will revert to the saved HTML upon refresh.
1 Like

1.) Console is used to help you with writing, managing and monitoring JavaScript.

2.) Navigate to the menu; select more tools; then select developer tools. (or) CTRL+SHIFT+J

3.) The log function of Console lets you see the output of the code in real time.

4.) By simply opening the web page, go to Console and begin experimenting with JavaScript from there.

1 Like
  1. What is the console used for?
    The console is part of the developer tools included with popular web browsers such as chrome and firefox. The user can input and receive output, either in the console prompt or in the loaded web page.
  2. How do you open the Console in Google Chrome?
    CTRL SHIFT ā€˜J’
  3. What does console.log function do?
    Display output to the console screen
  4. How can you change the contents of an HTML page through the console?
    By calling the ā€˜document’ function, for instance document.body.style.backgroundColor = ā€œlightblueā€;
    This example change the background colour of the page.
2 Likes
  • What is the console used for?
    The console allows the user to write, manage and monitor JavaScript on demand

  • How do you open the Console in Google Chrome?
    Menu-More Tools-Developer calls through the menu top right of the browser,
    or keyboard shortcut CTRL/Shift/J

  • What does console.log function do?
    console.log allows the scripts to be run and viewed within the console instead of having pop-ups that need to be cancelled

  • How can you change the contents of an HTML page through the console
    By manipulating the document element functions

1 Like
  1. What is the console used for?

The console is used to provide option to write, monitor, manage JavaScript code and allow interaction with a web page.

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

On Mac OS - cmd + option + J

But, first you have to check Preferences - Advanced - and check the box Show develop menu :upside_down_face:

  1. What does console.log function do?

This function provide possibility for implementation of java script commands directly to the browser.

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

If we open a page in html and open the console and tab the ā€œElementsā€ we can add or change html elements using javascript coding.

1 Like