Console - Reading Assignment


#422

What is the console used for?
Console provides you with the ability to write, manage, and monitor JavaScript on demand.
How do you open the Console in Google Chrome?
Mac: Command + ALT + J
What does console.log function do?
You can issue commands to log (or print out) the function’s result on the console.
How can you change the contents of an HTML page through the console?
By typing Javascript directly into the console we can alter the contents of the webpage


#423
  1. What is the console used for?

The Console allows us to write and manage JavaScript from within the browser itself.

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

I use Firefox. To access the Console in Firefox go to Menu > Web Developer > Web Console or press Ctrl + Shift + K

  1. What does console.log function do?

The console.log is a sandbox where you can test your code to see if it works.

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

You can use JavaScript to insert things into the HTML such as a new background colour using the code document.body.style.backgroundColor =“lightblue”;

Inserting this into the HTML will change the background of the webpage to lightblue and you will see this change on-screen but you’re not changing the HTML document when you do things within the Console. When you reload the page it will return to the way it was before.


#424
  1. The console can be used to interact with the elements of the webpage or to execute functions
  2. Control+Shift+I
  3. console.log’ logs a value output
  4. Using the ‘document.’ object

#425
  1. The Javascript console can be used to execute Javascript commands within the context of a webpage and log information.
  2. In the menu with the 3 dots, open Other Tools then Developer Tools and click the tab for Console
  3. It logs information to the javascript console
  4. You can interact with the pages DOM through Javascript using the “document” object and modifying it

#426

1, Console is used for modifying pages on demand.
2, Shift + Ctrl + J
3, Logs things such as pop ups to the console.
4, using DOM


#427

1 - The console is used to write, modify and execute Javascript within the context of a webpage
2 - Click the 3 vertical dots > More tools > Developer tools > Console
3 - Allows you to log information into the console
4 - Via DOM using the elements tab


#428
  1. What is the console used for?
    A shell interface to interact with raw page code/JS (i.e. within a browser program). Very useful for debugging and experimentation with scripts/html/css, etc. directly on the page.

  2. How do you open the Console in Google Chrome?
    COMMAND + OPTION+ J (on mac)

  3. What does console.log function do?
    Retrieves the functions of the console log and displays the values easily in one window.

  4. How can you change the contents of an HTML page through the console?
    Depends on where you expect to see the change. You can do so locally in the console window but it will only change the structure on your own machine (unless writing altered code to the host server).


#429
  1. What is the console used for?
    A development tool in the browser that lets you work with Javascript.
  2. How do you open the Console in Google Chrome?
    I am on windows so the command is control + shift + j.
  3. What does console.log function do?
    It log’s info in the console.
  4. How can you change the contents of an HTML page through the console?
    By using JS you will call on the document to modify it.

#430
  1. What is the console used for?
    The console or DOM is a standard for how to get, change, add, or delete HTML , JS and CSS elements.
  2. How do you open the Console in Google Chrome?
    control+shift+J
  3. What does console.log function do?
    it defines values and returns a function. Once a value is defined the console will remember and tell you it is already used.
  4. How can you change the contents of an HTML page through the console?
    you can just edit it directly and then save it. Also JS can change all contents as well.

#431

also I think that guy put the tittle in the wrong place. He put it in the which does not show anything. You should put the tittle in the and the


#432

1. What is the console used for?

The browser console is used to interact with the web page.

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

-

3. What does console.log function do?

This function logs JavaScript to the console.

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

If you load an HTML file on your browser, you can open the console and modify it using JavaScript.


#433

1.A Console is a development tool built into your browser. Through the console you are talking directly to the JavaScript Engine. The console allows you to execute and play around with JavaScript code
2. click onto the 3 vertical dots on right-hand side of the browser, select “ More Tools” , then “Developer Tools
3.If you have JavaScript code that includes Console.log this will print the message you enter to the console rather than having pop-up alerts that you have to click out of
4. You load the HTML file onto your browser, open up the console and start working with JavaScript to modify your webpage


#434

What is the console used for? The console is essentially to write, control and manage JavaScript on the fly

How do you open the Console in Google Chrome? Go to View —> More Tools —> developer options/JS Console

What does console.log function do? Console.log allows post you changes directly to the console or webpage

How can you change the contents of an HTML page through the console? By using JS in the console you can edit the HTML page


#435

Console – Reading Assignment

  1. What is the console used for?

The console is used to log information as part of the JavaScript development process, as well as to allow you to interact with a web page by using JavaScript within the page’s text. However the main usage would be to debug JavaScript code

  1. How do I open the console in Google Chrome?

Select the chrome menu icon, menu_> More tools_> JavaScript Console. Or if the Chrome Developer Tools are already open, press the Console tab.

  1. What does console.log function do?

i. It can be used for testing and also as an output for an application

ii. If you use the money sign ($_) without selecting anything with the inspector it will give you an undefined error.

iii. It can also be used to perform math operations.

iv. The console can give us errors if a variable is not declared.

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

You can change the contents of an HTML page through the console by using the development tools


#436
  1. to interact with the elements of the webpage
  2. Menu - oher tools - tools for developers (Control+Shift+I)(F12)
  3. logs a value of the output
  4. open object with double click to enter new data

#437

1 to test out code without changing the program
2 ctrl + shift + J
3 stores the data in the console
4 by usein the elements tab


#438
  1. write, manage, and monitor JavaScript on demand
  2. “inställningar” - fler verktyg - vertyg för programmerare - console
  3. You can print input as output to a log file rather than see it on the screen directly
  4. In Element tab

#439

1)It is used for running java script code in the already coded HTML code
2)go to more tools<developer tools<console
3)it logs the output of the runned java script in a log file
4)by writing java script code in console


#440
  1. What is the console used for?

It is used to log information as part of the JavaScript development process and to allow you to interact with a web page by carrying out JavaScript expressions within the page’s context (it allows you to write, manage, and monitor JavaScript on demand).

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

First, go to menu at the top-right of your browser window (three vertical dots in a row), then select More Tools then Developer Tools and click on Console. Or, hit the keyboard shortcut CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS.

  1. What does console.log function do?

The console.log function permits you to work with JavaScript by logging it to the Console.

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

You load a html page onto your browser and then open up the Console and begin working with JavaScript to modify the page. Unless you save any changes you would like to keep elsewhere, as soon as you reload a page following modifying it, it will return to its state prior to your modifying the document.


#441
  1. What is the console used for?
    The console is used to interact, monitor and receive a real time response when you input commands.

  2. How do you open the Console in Google Chrome?
    If you are using Windows you should press ctrl+shift+J

  3. What does console.log function do?
    It enables you to use JS in your browser

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