Console - Reading Assignment

  1. What is the console used for?
    Ultimately, you want to use the Console to debug code.
  2. How do you open the Console in Google Chrome?
    I primarily use FIREFOX. OPTION, COMMAND and K will open a window at the bottom of the web page. If you have to use CHROME, then either right click on click on INSPECT, then click on CONSOLE or use OPTION-COMMAND-J.

What does console.log function do?
The console.log writes messages to log on the debugging console; moreover, it is a function within JavaScript which is used to print variables or to express any type of message displayed a user. It should be noted that any changes dictated within the console, lengthy or otherwise is only temporary.

  1. How can you change the contents of an HTML page through the console?
    Once having clicked on the ‘inspector’ tab you’ll can see the layout of the HTML displayed of said website. select whichever line you want to change and you’ll see a reaction of sorts on the website in real-time but only temporary/local to the user.
1 Like
  1. The console is used to log data during JavaScript development. It is also used to allow you to interact with a web page by entering JavaScript commands within the context of the page.
  2. Click on the three dots on the upper right side of your browser -> More Tools -> Developer Tools -> Console. Or click the shortcut Ctrl+Shift+k (Windows).
  3. This function will generate an ‘output’ on the console.
  4. You can use JavaScript to make the modifications or you can access the DOM and double click directly on the element to be modified.
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.
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. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already:
3. It prints output to the console.
4. By writing commands directly to the console.log

1 Like
  1. The Console is similar to the interface that provides the programmer with the ability to write, manage and monitor JavaScript on-demand.
  2. You access ‘the console’ on Chrome by;
    a) Navigate to the menu at the top-right of browser window signified by 3 vertical dots in a row.
    b) Then select ‘More Tools’ option
    c) Then select ‘Developer Tools’ option.
  3. Console.log is the access point, to operating within the console
  4. The contents of an HTML webpage can be changed by inputting, and writing between the tags
1 Like
  1. What is the console used for?
    The console can be used to log information and to interact with a web page using JavaScript expressions. It is used to write, manage and monitor JavaScript on demand.
  2. How do you open the Console in Google Chrome?
    Select Developer Tools from More Tools inside the top-right menu, then selecte Console.
    Shortcut on windows:

CTRL + SHIFT + J

  1. What does the console.log function do?
    Allows printing information about the program’s execution in the Console.
  2. How can you change the contents of an HTML page through the console?
    By loading an HTML file to the browser it is possible to interact with it using javascript, using the keyword document to access the HTML elements or add them to will.
1 Like

1 - console is a convenient way to write, edit, and debug javascript code. It’s allows you to test changes on a live page without making changes to actual html page.
2 - (for Brave) goto View => Developer => Javascript Console
3 - it output the results of the code you run with it right on the console screen
4 - you can go to “Elements” tab and edit the html page contents directly. this allows you to previous changes without making actual changes to the html page.

1 Like
  1. it is used to test and execute javascript commands and inspect the element
  2. menu - more tools - developer tools or you can right click on the page and press inspect
  3. puts information in to the console
  4. in the console double click the element and edit it
1 Like

1.The console is used to log information as part of the Javascript development process, as well as allow you to interact with webpage by carrying out Javascipt expressions within the page’s context.
2. Ctrl+Shift+I or F12
3. Logs info to Javascript console.
4. Right-click over the tag, element, or content that you want to edit and select Edit as HTML.

1 Like
  1. What is the console used for? the console is giving you the ability to write JavaScript on demand, to monitor anb debugging.

  2. How do you open the Console in Google Chrome? Fn+f12

  3. What does console.log function do? it’s log and print the command into the console.

  4. How can you change the contents of an HTML page through the console? we can do it by getting in to the console and “edit text” (right click)on the part you want to edit.
    as you do it, you can see it on the browser.

1 Like

The console is used to write and manage java script on the webpage so you can see your code in real time.

option, command and J

It logs it onto the java script console so you can see it.

You can change the contents of a html page through the console using Java Script

1 Like

1The 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. press option+command+i
    3 It logs information to the javascript console
  2. by adding instruction to consule and execute.
1 Like
  1. What is the console used for? To pay around and edit stuff on the website in the website itself.
  2. How do you open the Console in Google Chrome? Command, option, J.
  3. What does console.log function do? It writes a message to the console.
  4. How can you change the contents of an HTML page through the console? By using javascript within the web browser.
1 Like
  1. The Console provides us with the abilty to write, manage and monitor JS on demand.
  2. The menu at the top-right corner, select More Tools, then Developer Tools.
  3. Logs results into the JS console.
  4. With an element e.x document.body.style.color = “blue”;
1 Like
  1. The console is used to write, manage and modify javascript from a browser.
  2. To open the console in Google Chrome you must click the menu button at the top right of your browser then navigate to More Tools > Developer Tools. You can also use the shortcut Command + OPTION + J on macOS or CTRL + SHIFT + J on Windows/Linux.
  3. The console.log function will write a message to log on the console, it will not show anything on the browser page.
  4. Save the HTML file and then load it into your browser. Then open up the console and begin working with JavaScript to modify the page.
1 Like
  1. What is the console used for?

To allow interaction with a web page’s HTML, CSS, and JavaScript on the fly.

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

Right click and select “Inspect”

Menu > More Tools > Developer Tools (alt + Shift + I)

  1. What does console.log function do?

It allows the output of javascript to be printed to the console.

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

By interacting with the document through various methods. Interacting directly through the console’s elements tab.

1 Like
  1. The console gives you the abillity to write, manage and monitor JavaScript inside of it.
  2. Control + Shift + J
  3. The Console.log function logs information to the javascript console, it is a function used to produce an output.
  4. By adding your own javascript code to the html document in the console.
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. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console. 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
  3. What does console.log function do? It prints on the console whatever input you enter inside the console.log function.
  4. How can you change the contents of an HTML page through the console? By using JavaScript on the Console which provides you with a space to experiment with modifying HTML pages.
1 Like
  1. Console is used in order to interact with a browser.
  2. By searching Web development tool in the properties.
  3. Prints a text in the console.
  4. By writing some commends in the console.
2 Likes
  1. What is the console used for?
    It’s for debugging code, analyzing network performance and seeing the Document Object model.
  2. How do you open the Console in Google Chrome?
    Ctrl+shift+J or by accessing the developer tools from “more tools”
  3. What does console.log function do?
    You can use it to output within the console to test the script you’re trying
  4. How can you change the contents of an HTML page through the console?
    By writing new code and applying it
1 Like
  1. What is the console used for?
    It is used to write, manage and monitor Javascript so we can experiment on our website.

  2. How do you open the Console in Google Chrome?
    We click on 3 dots in the top right corner, then more tools, then developer tools. Or simply ctrl+shift+j

  3. What does console.log function do?

    It lets us work in Javascript without showing it on the webpage so we can try out different things without having to click anything on the webpage because nothing will pop up.

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

    You can’t actually truly change the content of an HTML page through console because console is used for experimentation and after the webpage is reloaded everything will be returned to what we essentially wrote and saved in our html code in a text editor like Atom.

1 Like