Console - Reading Assignment

  1. What is the console used for?
    -write, manage and monitor JS in demand.
  2. How do you open the Console in Google Chrome?
    -Press F12
  3. What does console.log function do?
    -you can work within the console
  4. How can you change the contents of an HTML page through the console?
    By using the document object.
  1. to interact with the website and test javascript coding
  2. in Menu go to developer tools - then go to tab console
  3. write results on console
  4. either with java script coden (document object) or change DOM with the inspector
  1. What is the console used for?
    The console provides the ability to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    Command + Option + J (macOS) or by opening Developer Tools on the upper right part of Chrome.

  3. What does console.log function do?
    console.log allows us to work with JavaScript by logging it to the Console.

  4. How can you change the contents of an HTML page through the console?
    By going to the Elements tab next to the Console tab. The Console provides a space to experiment with modifying HTML pages, but we’re not changing the HTML document when using the Console. When we reload the page it will return to the original document.

  1. The console is used as a tool that provides the ability to write , manage , and monitor Javascript on demand.

  2. By clicking the menu in chrome which is shown as three dots on the far upper side of the page and selecting the More Tools and then Developer Tools and clicking on the console bar.

  3. The console.log Function is used to print output or print information to the Javascript console…

  4. You can change it by using an HTML File that allows you to experiment with your web page but any changes will be erased ounce you n refresh the page.

image 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.

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. Then click on console tab.

What does console.log function do? Perform different functions using JavaScript. Such as math, printing to the screen. Writing multiple lines and variables for specific outputs.
How can you change the contents of an HTML page through the console? When console is open you can experiment with JavaScript code within the context of existing HTML, CSS, and JavaScript. But once the document is render it changes back to original state.

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
COMMAND + OPTION + J
or open the section More Tools -> Developer Tools

3
calculate, display or log information

4
The content of the page is in the console and I can write the new commands

1. What is the console used for? To write, manage, and monitor JavaScript on demand. 

2. How do you open the Console in Google Chrome? Ctrl + Shift + 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 the Document object.

What is the console? From:Horacio

1. What is the console used for?

The Console can be used to log information as part of the JavaScript development process .

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.

3. What does con sole log function do?

T o log information

4. How can you change the contents of an HTML page through the console? You can then open up the Console and begin working with JavaScript to modify the page. We’ll begin by using JavaScript to insert a heading into the HTML.

Question. In witch book I need to read for this : Variables Reading Assignment?
Thaknks

  1. What is the Console used for?

Use the Console for website management. You can monitor network traffic, experiment with Javascript, Debug, and inspect code. Also use the Console to look up other detailed information.

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

Ctrl+Shift+I, F12 and the Three dot menu in the top right corner (Click More Tools then Developer Tools).

  1. What does console.log function do?

It’s a real time environment to try out new Javascript. Provides a space to temporary modify a HTML document. The page returns to normal when refreshed.

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

The code you input into the console tab or edits you do in the elements tab will modify the website in real time. but it is not permanent.

  1. Console is an interface that provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. Click on the 3 dots, then choose ‘more tools’ and then ‘developer tools’.
  3. The console . log () is a function in JavaScript which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user.
  4. By loading the HTML file made in Atom into the browser and then go to developers tools.
  1. The console is used for trying out changes to your page directly, without actually saving it to the webpage.
  2. press alt + cmd + j
    3.console.log function allows you to show output of your code in the console.
  3. you can change elements by calling them in the console. For instance:
    document.body.innerHTML = "

    Today’s date is " + d + “

Provides the ability to write, manage, and monitor JavaScript on demand.

Click on the Customize and control google chrome, click on tools and javascript console is opened.

Allows you to try out Javascript code real time

console.log allows you to interact with console directly.

  1. to test your javascript.
  2. CTRL +SHIFT +J
  3. Print responses in the console.
  4. To address the document.body element. -> document.body.innerHTML = “

    Today i learned a lot

    ”.
  1. The JavaScript Developer Console is one of the web-development tools available in modern browsers. It is used by web developers to test and experiment with JavaScript in the context of a particular web page. New code, or modifications to the existing code, is written in the console, and can then be immediately run in the browser in order to see its effect on the web page, and also to log outputs to the console.

  2. To open the Google Chrome Console in Windows there are 4 alternatives:
    (NB: based on Spanish keyboard, Google Chrome in Spanish, and Windows OS in Spanish)
    (i) Open menu (3 vertical dots) ⟶ Más herramientas ⟶ Herramientas para desarrolladores
    (ii) Ctrl + Shift + I              (More Tools)            (Developer Tools)
    (iii) F12
    (iv) Right click anywhere on screen   ⟶   Inspeccionar (Inspect)
    All of the above open the Chrome DevTools panel — click on Console tab in top menu bar, if not already open.

  3. The  console.log()  function enables information to be displayed on the screen (literally logged to the console). The information logged is whatever value is defined within the parentheses e.g.

let info = 6 * 3
console.log(info)       // logs "18" to the console
  1. You can use the console to change the contents of an HTML web page by writing JavaScript code which accesses and manipulates the page’s Document Object Model (DOM)  e.g.
  • The Documentobject, is an interface which represents the whole web page, and accesses the web page’s DOM.
  • HTML elements are represented as properties of their parents e.g. document.body
  • An element’s .innerHTMLproperty can be used to assign it a child element, which is coded as a string (including opening and closing tags).
  • Elements can be created, using the  document.createElement()method — the element’s tag name (without the angle brackets) is coded as a string and included as a parameter (within the parentheses).
  • Text nodes (blocks of text) can be created, using the  document.createTextNode()method — the text is coded as a string and included as a parameter.
  • A text node can be added as content to a specific element (inserted between the opening and closing tags), using the .appendChild()method — the text node is included as a parameter.
  • An element can be nested within another element, using the .appendChild()method — the child element is included as a parameter.
  1. The console is used to debug or experiment with the Javascript code on a webpage

  2. You can access the console by clicking on ‘more tools’ then ‘developer tools’ OR by pressing SHIFT + CTR + K

  3. The console.log function logs the outputs of javascript commands

4.You can change the contents of an HTML page through the console by using the element tab, which displays the Document Object Model

1.The console is used to log information that has been programmed.
To have the facility to write manage and monitor Javascript

2.You can open console in google chrome by going over to the right hand 3 bar icon (on a PC ) navigate down to the More Tools list then access the Developer Tools, and a split screen will be accessed

3.The function console.log is a command line for the value expression to be shown, not as a pop up alert

4.The way you can change HTML through console is by editing the split screen code, the file needs to be saved for the changes to be written

1)the console provides you with the ability to write,manage and monitor JavaScript
2)navigate to the menu,select more tools then developer tools,this will open a panel where you can click on console to bring up the JavaScript console
3)the console.log is a function that writes a message to log on the debugging console
4)log a DOM node to the console then select edit as html or edit text

  1. What is the console used for?
    A console provides a text based interface which allows the developer to interact with the current web page by writing, managing and monitoring javascript code and functions.

  2. How do you open the Console in Google Chrome?
    Navigate to the Chrome menu and select ‘More Tools’ and then ‘Developer Tools’. This will open the developer panel where you can select the ‘Console’ tab.

  3. What does console.log function do?
    It directs any outputs to the console rather than the web page. For instance, alert(“HelloWorld”); will pop up a message in the browser whereas consol.log(“HelloWorld”); will display the result in the console.

  4. How can you change the contents of an HTML page through the console?
    Javascript allows you to interact directly with the HTML elements on the current page, enabling you to modify the element’s attributes in real time and therefore the page’s style. However, these changes do not affect the underlying HTML and all modifications will be lost once the page is reloaded.

  1. to see your code in the browser
    2 Upper right corner.e dots) moore tools, developers mode
    3 console.log return your data
    4
    js. code
    </script