Console - Reading Assignment

What is the console used for?
It’s used to see and change a webpages source code.
How do you open the Console in Google Chrome?
Settings, options, dev tools,
What does console.log function do?
It’s how you interact with the web browsers console directly by displaying the output underneath the code.
How can you change the contents of an HTML page through the console?
By typing code into the console, such as document.innerHTML “

blahblah</p” and pressing enter

a console is used to input instructions into the computer and test the outcome
to open console in google press cntrl+shft+j
console.log is used to write message into the console and for testing purposes
changing the html page can be done by saving the html, opening it in a browser and subsequently opening the console on that browser

  1. Console is used to log information and used for webpage interaction by carrying out Javascript expressions.
  2. On Chrome, we can follow the following procedures :Menu/More Tools/ Developer Tools/ Console Section
  3. Console.log is used to log data and it outputs information to the console
  4. By using Javascript commands in the console.

Reading Assignment - Console

  1. What is the console used for?
    It is used to write, manage and monitor JavaScript on demand in a browser.

  2. How do you open the Console in Firefox?
    Ctrl + Shift + K

  3. What does console.log function do?
    The function logs an output in the console.

  4. How can you change the contents of an HTML page through the console?
    By typing in JavaScript commands into the console. It is also interactively possible, by editing inside the Inspector panel
  1. What is the console used for?

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

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

Controls -> More tools -> developer tools -> Console tab OR
CTRL + shift + J

  1. What does console.log function do?
    You can execute various commands with it, without having to prompt the user to press a button to get out of.

  2. How can you change the contents of an HTML page through the console?
    You can use Javascript directly in the console to experiment modifying the page in real time.

  1. It’s used for executing Javascript on the current oepened website
    2.F12 key
    3.You can check how the code is running in its particular part e.g. if you have two variables and to know what is the first one instead of just the second one you can use console.log for the first function and it will provide you with answers to both operations
  2. In Firefox you have to double tap on particular element that you would like to change and then replace it with something else of your choosing.

1. What is the console used for?
It is a tool to inspect the Document Object Model or DOM, debug and analyze network activity. It is necessary to interact with a web page providing the ability to write, manage and monitor JavaScript programmed options.
2. How do you open the Console in Google Chrome?
Right click wherever on a page, Inspect and then Console.
3. What does console.log function do?
It is a JavaSrcipt function which allow us to interact with the output console showing the results within the console.
4. How can you change the contents of an HTML page through the console?
With the statement document.body.innerHTML but it is not permanent.

  1. The console is used to record data
  2. icon top right, more tools, developer tools then the console tab
  3. console.log function carries out a function and outputs it to the console
  4. you can change the contents of an HTML page by using document. functions

Sorted it!

I used document.getElementById(“main-outlet”).style.backgroundColor = “lightgreen”; to make the background green in the console, the bit i struggled with was identifying the document but using “control F” I found the right bit.

  1. The console is used for JavaScript in a terminal or command line structure.

  2. You open the console in Chrome by clicking the three dot button in the upper right corner, hovering over ‘more tools’, and clicking ‘developer tools’.

  3. Console.log prints your JavaScript command to the console.

  4. You can change the contents of and HTML page through the console by using the document element in the console.

AMAZING PROGRESS:
THANKS!

What is the console used for?
Console is a way to interact with a web page by using Javascript. One can then live test code on an existing webpage.

How do you open the Console in Google Chrome?
Menu -> More tools -> Developer Tools

What does console.log function do?
Print the function outputs in the console.

How can you change the contents of an HTML page through the console?
You can use code in the console to view real time changes to a webpage. However, when the page is reloaded the original HTML formatting will return.

  1. The JavaScript Console provides you with a space to try out JavaScript code in real time.

  2. in Chrome click menu (three dots in upper right of page), then select More Tools>, then select developers tools, and select console on top bar. (CTRL + SHIFT + J )Win

  3. it logs to the console so you don’t have to continuously have to click out of pop up alerts
    .

  4. you can use the console to experiment with JavaScript code within the context of existing web page, but it will return to its original state before being modified with console(so be sure to save any changes you wish to keep elsewhere).

What is the console used for?

  • to log javascript information and to interact with a web page by carrying out javascript commands

How do you open the Console in Google Chrome?

  • Chrome menu > more tools > developer tools

What does console.log function do?

  • log info in console

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

  • in Elements tab, double click the content you want to edit and adding new content.
  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.
  2. In Chrome: Menu -> More tools -> Developer Tools
  3. This commands to log or print out the function’s value onto the console.
  4. The contents of an HTML page can be modified in the console by modifying the document object through JavaScript commands.

What is the console used for?
It is a tool to interact (edit, modify, insect) with HTML web page on demand

How do you open the Console in Google Chrome?
Menu–>More tools–>Developer tools–>Console
hotkeys: CTRL + SHIFT + J (Win/Lin)
COMMAND + OPTION + J (Mac)

What does console.log function do?
it logs info in the console

How can you change the contents of an HTML page through the console?
DOM (Document Object Model) allows to view all the elements of HTML in a hierarchical order. This, in turn, allows to inspect and alter any element within it.

  1. What is the console used for?
    A: 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?
    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.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. What does console.log function do?
    A: You can receive some output with it, or performing some complicated math.

  4. How can you change the contents of an HTML page through the console?
    A: By using the document element…

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

  1. We can use the “console.log” function to have results printed rather than to keep having a popup which we need to click out every time.

4)You can then open up the Console and begin working with JavaScript to modify the page.

  1. The Console is a tool that provides you with the ability to write, manage, and monitor JavaScript on demand.

  2. You open the console in google chrome by clicking the three vertical dots on the upper right corner of the browser window, then click more tools, then click developer tools, then click the console tab. A shortcut is Command + Option + J for MacOS.

  3. Console.log function logs informartion in to the javascript console.

  4. You can change the contents of an HTML page through the console by going to elements tab and double-clicking the tag, element, or content we would like to edit.

1- The console is used to interact with the website using Javascript
2- On Google Chrome, CTRL+SHIFT+I will open the console. Else you click on the upper right corner (three vertical dots), go to More Tools>Developer Options and click on the Console tab.
3- The console.log function executes a line of code and logs the result to the console itself, rather then the website
4- Whatever logic is written in the console will be executed on the HTML page. However these changes aren’t saved, if we refresh the document, it will go back to its original state.