Console - Reading Assignment

  1. To interact with a website using Javascript and log information for debugging etc

  2. By accessing developer tools in the browsers menu

  3. Returns the output of a function within the console

  4. Through using javascript to appended in tags and elements to the HTML

2 Likes
  1. What is the console used for?
  • The console is used to write Javascript code inside the browser to see changes. See logs and debug a website in real-time.
  1. How do you open the Console in Google Chrome?
  • You can access the console via developer tools
  1. What does console.log function do?
  • Returns the output of a function inside the console
  1. How can you change the contents of an HTML page through the console?
  • You can change the content of an HTML by using Javascript code e.g. * document.body.style.backgroundColor = “light blue”; but you must save an HTML locally then uploaded it to the browser, but you can do it on any page.
2 Likes
  1. The Console can be used to write, manage and monitor JavaScript, and contains additional tools used to inspect the DOM, debug, analyze network activity, etc.
  2. You open the Console in Google Chrome by clicking the browser menu (three vertical dots), More Tools, then Developer Tools. You can also use keyboard shortcuts.
  3. The console.log function allows you to print messages to the Console.
  4. You can modify HTML and CSS in the Console, but any changes made there are not permanent, and would need to be applied in the text editor itself.
2 Likes
  1. What is the console used for?
    The console is used to log informations and interact with the web page.
  2. How do you open the Console in Google Chrome?
    with a MacOs click Command + Option and J
  3. What does console.log function do?
    The console.log function helps you to write manage and play with Js on demand
  4. How can you change the contents of an HTML page through the console?
    When you add the open and close tags script
2 Likes
  1. What is the console used for?
  • It is used to interact with a webpage using the javascript processes.It allows you to write manage and monitor Javascript on demand.
  1. What do you open the Console in Google Chrome?
  • On the right side, under the 3 bars of the webpage, click an highlight “More Tools”. From there a submenu should open and click on “Developer Tools”. Once the page opens, you can click under Console.
  1. What does console.log function do?
    -The console log function allows you to have the response in the Console rather than appear as a pop up.
  2. How can you change the contents of an HTML page through the console?
    You can insert different content into the webpage using Javascript commands and HTML features all through the Console. If you reload the webpage, then the website reverts to its original state. This allows experimentation of the existing HTML without changing the HTML on the website.
2 Likes
  • What is the console used for?

Within the Console you can write Javascripting

  • How do you open the Console in Google Chrome?
    Ctrl + Shift +j (Chrome)
    Ctrl + Shift +k (Firefox)
    or by using the taskbar.

  • What does console.log function do?

it logs information to the console for later use.

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

you can use the DOM ( Document Object Model,) it makes it possible to edit and view the html on the website.

2 Likes
  1. Console used for javascript development process
  2. 3 dots => developers tool
  3. print to the console
  4. document.element… = ?
2 Likes
  1. What is the console used for?
    The console is a tool that allow us to write, test and manage JavaScript coding on Browser.

  2. How do you open the Console in Google Chrome?
    Ctrl + Shift + j

  3. What does console.log function do?
    The console log function logs results into JS console without windows alerts popping up.

  4. How can you change the contents of an HTML page through the console?
    We can just change the HTML code through the DOM in the inspector panel in Firefox and in the elements panel in the Chrome Browser.

2 Likes

1.What is the console used for?
The console can be used to log information as part of the Javascript development process, it allows the programmer to interact with the webpage by carrying out Javascript commands within the page’s context.
2. How do you open the Console in Google Chrome?.
F12
3. What does console.log function do?
console.log will print results evaluating an expression.
4. How can you change the contents of an HTML page through the console? It can be changed by changing the HTML code through Document Object Model.

2 Likes
  1. the console can be used to log information as a part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions within the pages context.

  2. in the three dotted menu, open other tools > developer tools and click the tab for console

  3. Instead of the pop-up alerts that get in the way, that we constantly click out of, we can work with JavaScript by logging it to the console with console.log.

  4. document.body.style.backgroundColor = “lightblue”;

3 Likes
  1. The console is a terminal shell working with Javascript used to interact with the elements of a webpage
  2. In Google Chrome you press CTRL + SHIFT + I
  3. Console.log function logs a value output to the Javascript console
  4. You can change contents through the DOM. All HTML elements can be modified using Javascript in the console.
2 Likes
  1. What is the console used for?
    To log information as a part of javascript devel. process as well as allows you to interact with a web page by carrying out javascript expressions within the page content.

  2. How do you open the Console in Google Chrome?
    You can navigate to the menu at the top right of your browser window signif,by three vertical dots in a row from there you select more tools then developer tools.
    Or use shortcut: CTRL + SHIFT + J .

  3. What does console.log function do?
    Creating desired output based on input.

  4. How can you change the contents of an HTML page through the console?
    By modifying it inside the console .

2 Likes
  • What is the console used for?
    The Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  • How do you open the Console in Google Chrome?
    Settings (three dots on top right-hand side) --> More Tools --> Developer Tools

  • What does console.log function do?
    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

  • How can you change the contents of an HTML page through the console?
    Use the document element inside the console.

2 Likes
  1. Test code, inspect element and execute Javascript commands
  2. Näytä–> Kehittäjille—>javascript-konsoli
  3. logs info to the console
  4. use the document element inside the console
2 Likes
  1. Console provides you with the ability to write, manage, and monitor JavaScript on demand
  2. a. For firefox: You open it by pressing CTRL + SHIFT + K on Linux and Windows, or COMMAND + OPTION + K on macOS.
    b. For Chrome: CTRL + SHIFT + J on Linux or Windows, or COMMAND + OPTION + J on macOS, which will bring focus immediately to the Console
  3. console.log function allows you to display output of any command that gives an output without having to exit into the browser itself.
  4. By using functions and commands, you can change the HTML page from being static to dynamic.
2 Likes
  1. What is the console used for?
    It provides a programmer to the ability to write, manage, and monitor JavaScript on demand (in real time). You are able to test your code and how it works on a working website (interact with webpage and test changes).

  2. How do you open the Console in Google Chrome?
    Ctrl+shift+J or go to menu on the top right corner with the 3 dots. Select “more tools” then select “developer tools” then select “console”

  3. What does console.log function do?
    It displays the output of the code you have written inside the console.

  4. How can you change the contents of an HTML page through the console?
    I can write javascript code to influence and modify the webpage’s elements and markup. This will cause no actual changes to the HTML document.

2 Likes
  1. What is the console used for?
    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, 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.
    You can also enter into the JavaScript Console by using the keyboard shortcut CTRL + SHIFT + J.

  3. What does console.log function do?
    Math and prints whatever is written between the ().

  4. How can you change the contents of an HTML page through the console?
    Change the HTML code in the elements section

2 Likes
  1. What is the console used for?
  • it is used to interact and test javascript live on webpages
  1. How do you open the Console in Google Chrome?
  • “menu” - “more tools” - Developer Tools, or (ctrl-shift-i)
  1. What does console.log function do?
  • It shows the output of your code in the console.
  1. How can you change the contents of an HTML page through the console?
  • using javscript to insert elements, content and styles.
2 Likes

1. What is the console used for?
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?
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.

Windows or Linux
ctrl+shift+J

MAC
command+option+J

3. What does console.log function do?
outputs a message to the web console

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

  1. Log a DOM node to the console.
  2. Right click on it.
  3. Select Edit as HTML or Edit Text.
  4. Notice the DOM is updated on the page and also in the Elements Panel.
2 Likes
  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. Basically the Console provides you with the ability to write, manage, and monitor JavaScript on demand.

  2. To open the Console in Chrome: Navigate to the top right corner, select More Tools, select Developer Tools, then click Console. Shortcut: Windows/Linux Ctrl+Shift+J Mac: Command + Option+J

  3. The Javascript Console provides you with a space to try out code in real time. As you make adjustments to the console, you alone will see the results on the webpage. However, if you would like to make changes, or test out certain functions without affecting the webpage, you can also utilize the function Console.log. It’s a place where program output goes that is not the screen for the user to see. This is a common practice for debugging.

  4. Each page has a DOM (Document Object Model). Within this model you can identify and inspect the HTML aspects of a page. To edit, simply right click any HTML text in the Element tab (or Inspector tab in the case of Firefox).

2 Likes