Console - Reading Assignment

!. You can read, write and monitor javascript on the browser.
2. Go to Setting, Tools, Developer Tools, Console.
3. Allows you to make changes to the page and test them without saving them.
4. Save the changes you made to the html document.

1 Like
  1. What is the console used for?
    Here you can execute javascript commands that alter the context of a webpage or access to that webpage.

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

Right click, and choose inspect. Another pathway is Ctrl+Shift+I.

  1. What does console.log function do?

Logs info to the javascript console.

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

Go into the console, click the element and hit ‘edit element’. Complete your edit and click off the element.

1 Like
  1. What is the console used for? The Console provides you with the ability to write, manage, and monitor JavaScript on demand within a web browser.
  2. How do you open the Console in Google Chrome? Microsoft: CTR + SHIFT + J
  3. What does console.log function do? It outputs (log or print) information to the console
  4. How can you change the contents of an HTML page through the console? By going to the Elements section in the Console and double clicking the element, tag, attribute you want to change.
1 Like

What is the console used for?
The console is used for debugging and testing out Javascript code within the page.

How do you open the Console in Google Chrome?
It can be opened by either using CMD + Option + J on the Mac, or can be done by using the Tools / Developer Tools / Console tab within the browser.

What does console.log function do? The console log captures output to the console, without displaying it as part of the HTML page

How can you change the contents of an HTML page through the console?
You can modify the contents by clicking on the element and replacing the contents.

1 Like
  1. What is the console used for?
    Console provides you with the ability to write, manage, and monitor JavaScript on demand. Console makes us to interact with JS engine directly.
  2. How do you open the Console in Google Chrome?
    Right click -> Inspect -> Console or CTRL + SHIFT + J
  3. What does console.log function do?
    Prints some text on console, i.g. console.log(“Hello There”).
  4. How can you change the contents of an HTML page through the console?
    Through DOM ( Document Object Model) which is located Right click -> Inspect -> Elements.
1 Like
  1. What is the console used for?

It is used to test Javascript code on an existing webpage.

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

CMD + OPN + J on mac

  1. What does console.log function do?

it prints to the console

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

By going to the Elements section in the Console and double clicking the element, tag, attribute you want to change

1 Like
  1. Console is used to test code on working web pages. Typically using HTML and JavaScript, it’s also useful in modifying webpages and locating bugs.
  2. “More tools” under the Chrome control tab, the Developer tools. Respectively ctrl + shift + j is also used.
  3. It allows you to input commands via JavaScript logging the “value” onto the console.
  4. HTML code is categorized in the elements tab hierarchically. Using the respective JavaScript commands: document.createElement & document.removeChild, you are able to modify content via the console.
1 Like
  1. What is the console used for?
    The console is a tool similar to a shell interface that allows you to write, manage and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    CTRL + SHIFT + J or using the browser menu: More tools -> Developer tools

  3. What does console.log function do?
    It logs output info

  4. How can you change the contents of an HTML page through the console?
    By using the “Inspector” or “Elements” tab (depending on the browser)

1 Like
  1. Console is used to interact with a web page using JavaScript and be able to see the results quickly.
  2. click in the corner and go to Dev tools
  3. Console.log logs information and outputs I think
  4. By typing code
1 Like

1.The Console provides a programmer with the ability to write, manage, and monitor JavaScript on demand.

2.The console is opened in Chrome by selecting the Developer tools in the menu and then selecting console in the tools. This can also be achieved by using the keyboard shortcut “CTRL + SHIFT + J”.

3.The console.log function alows the programmer to test out code in the console without haeing to interect with the browser.

4.Edits can be made to an HTLM document in the console by opening the document in a browser and using JavaScript to edit the document in the console.

1 Like
  1. What is the console used for?
    Gives you the ability to write, manage, and monitor JS.
  2. How do you open the Console in Google Chrome?
    Menu/ More Tools / Developr Tools/ Console Tab
  3. What does console.log function do?
    Rather than a bunch of pop-ups, you can log it to the console with console.log.
  4. How can you change the contents of an HTML page through the console?
    DOM/Elements tab, enter new JS data, alter contents of page.
1 Like
  1. The Console provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. In Google Chrome, you can enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS.
  3. console.log is a function that lets us inspect values for debugging purposes
  4. By right-clicking on the HTML in the “Elements” tab and selecting Edit as HTML, you can make live edits to the markup of a webpage
1 Like
  1. The Console can be used to log information as part of the JavaScript development process and it is used also to interact with a webpage 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. Navigate to menu at the top-right of the browser window. It has an icon of listed dots, vertically aligned. From there, you can select More Tools then click on Developer Tools - This will open a panel where the JavaScript Console can be accessed by clicking on Console alone the top menu bar, or use a shortcut, CTRL + SHIFT + J . On Linux or Windows. On MacOS - Command + Option + J thus, bringing the focus immediately on Console.

  3. Console function.log returns a value to the console and not on the browser. It provides a space for the individual to try out JavaScript code in real time - letting the user use an environment similar to a terminal shell interface.

  4. You can work within the context of an HTML file or a dynamically-rendered page in the console. This provides an opportunity to experiment with JavaScript code within the context of existing HTML, CSS, and JavaScript. You can change text, background color, create a paragraph, or append other elements to the HTML page.

1 Like
  1. The console allows us to write, manage and monitor Javascript on demand (through the webpage).

  2. Show Develop Menu under Advanced settings, click on show Javascript Console under Develop (macOS).

  3. It logs info into the console.

  4. By writing Javascript code through the DOM (Document Object Model).

1 Like

What is the console used for?
-logging information for development and interacting within a webpage when using JavaScript.
How do you open the Console in Google Chrome?

  • CTRL+SHIFT+J
    What does console.log function do?
  • It outputs information to the console on the following line
    How can you change the contents of an HTML page through the console?
  • The “Elements” tab which has the html document. (CTRL+SHIFT+I)
1 Like

1/ the console is a shell, allowing to test javascript commands dir ectly
2/ in the browser, clicking in the right upperside button, then click developers button, then Console
3/ allows to perform HTML commands with output directly displayed in the console
4/right click over doc, then inspect it

1 Like
  1. You can use the console to interact with the web page by using Javascript code.
  2. F12
  3. It displays Javascript variables at the console.
  4. You can use the document object together with its different methods, depending
    on with you intend to write, select an element… Ex: document.write()
1 Like
  1. A console is used for editing a webpage using the browser. Once you hit refresh, the page automatically returns to its original form.

  2. You open the console in Google Chrome by pressing “Ctrl + Shift + J” in my case I can also use “Ctrl + Shift + I”

  3. The console.log function shows the answer or output of what you put inside its parenthesis. For example, console.log(3 + 7) shows the output of 10.

  4. You can change the contents of an HTML page using the DOM in the “Elements” tab for Chrome which allows you to view the HTML elements used in that webpage.

1 Like

1- a console is within some browsers and is used for editing a webpage. Not permanently as when you refresh the page your work is gone.

2- by pressing command, option, J or navigating using your mouse to the customize/control tab, more tools, developer tools, console tab.

3- it gives a space for users to try out java script in real time.

4- by navigating to the elements tab you are capable of seeing and manipulating html in real time.

1 Like
  1. What is the console used for?
    The console is a web development interface that allows one to write, manage and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    Navigate to the 3 vertical dots on the top right corner of the browser. Select the dots, and scroll down to “More Tools” and then select, “Developer Tools”. On a mac, you can also use the shortcut: Command+Option+J

  3. What does console.log function do?
    The console.log function allows a programmer to input commands and assess outputs without the commands generating pop-up windows on the webpage itself. In addition to working with Javascript in realtime, you can also do math within the console.log as well.

  4. How can you change the contents of an HTML page through the console?
    The contents of the HTML page can be changed through the console, by making changes to the Document Object Model (DOM). This is accessed in the Inspector section of the Firefox console, or the Elements section of the console on Google Chrome.

1 Like