Console - Reading Assignment

  1. The console allows us to manage, write and monitor Javascript on demand.
  2. Ctrl + Shift + J
  3. console.log logs information onto the console
  4. Through the document. codes.
2 Likes
  1. console provides you with the ability to write, manage, and monitor JavaScript on demand.
  2. Menu-> tools -> developer tools -> console
  3. creates an output within the console.
  4. right click -> inspect element
2 Likes
  • What is the console used for?

Inspection, debugging and testing code. Or to analyze network activity.

  • How do you open the Console in Google Chrome?

under browser menu, more tools/developer tools.

  • What does console.log function do?

outputs the result of a code expression

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

A browser will load the contents of a webpage by creating a Document Object Model. All the page elements will be defined there and are editable using JS.
Any part of the code can be altered for experimentation purposes which will go away when the page is refreshed.

2 Likes
  1. 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.
    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?
    Ctrl+shift+I

  3. What does console.log function do?
    The console log is a function that writes a message to log on the debugging console

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

1 Like
  1. The console provides you the ability to write, manage, and monitor javascript on demand.

  2. by clicking Console in the developer tools menu

  3. console.log will print the output to the console.

  4. by using the document javascript function in the console or by inspecting the DOM and manually editing or adding HTML to it.

2 Likes

1: It is used to manage ,write and monitor JavaScript in a browser

2: ctrl+Shift+J

3:It allows for the code to display within the console instead of the browser preventing alerts to come up and needed to be dismissed each time

4:Double click on the content you want to change< however the changes will not be saved when reloading unless saved

2 Likes
  1. What is the console used for?
    Writing Managing and Monitoring JavaScript on Demand
  2. How do you open the Console in Google Chrome?
    I prefer F12 in Chrome
  3. What does console.log function do?
    Logs information about Javascript outputs
  4. How can you change the contents of an HTML page through the console?
    The DOM can be changed by console or (chrome) in elements
2 Likes

Homework: Console Reading Assignment

  1. The console is the programming environment that allows your to read, write and optimize the code being used for web development.
  2. ctrl + shift + i
  3. console.log function allows you to log info into the console
  4. double clicking on the command line you wish to alter, save and refresh the page.
2 Likes
  • What is the console used for?
    console is used to test, manage, write and monitor JavaScript elements via the browser
  • How do you open the Console in Google Chrome?
    Click on the Three Lines, go to “MORE TOOLS” and click on “DEVELOPERS TOOLS”
    or F12
    or CTRL+SHIFT+J
  • What does console.log function do?
    It prints the result via the console instead of going via the site through a popup
  • How can you change the contents of an HTML page through the console?
    by going into the DEVELOPERS TOOLS option and going into the ELEMENTS section and making changes here or in the STYLES tab further down
2 Likes
  1. The console is used to interact with webpages by implementing the javascript expressions.
  2. menu > more tools > developer tools
  3. console.log function allows you to log actions so don’t have to deal the same action repeatedly
  4. Using the document element through console
2 Likes
  1. To test Javascript code, inspect elements, log information. It gives ability to write, manage and monitor JS on demand.

  2. via Developer Tools or as shortcut as cmd+option+J

  3. Log data to JS console

  4. GO to elements tab next to console there we can write and change our HTML file.

2 Likes
  1. The console is used to see real time modification of a web page without saving any changes.
  2. cmd+option+j
  3. console.log logs information to the console.
  4. You can use the “elements” tab of the developer tools, and select the element you’d like to modify. You can also directly modify the page using javascript commands, such as changing the background color of the page, or the font color.
2 Likes
  1. What is the console used for?
    It can be used to log information as part of the Javascript development process. It can also be used to interact with a web page.

  2. How do you open the Console in Google Chrome?
    CTRL + SHIFT + J

  3. What does console.log function do?
    It logs Javascript in the console.

  4. How can you change the contents of an HTML page through the console?
    By inputing Javascript commands through the console.

2 Likes
  1. What is the console used for?
    you use it to work with JavaSript.
  2. How do you open the Console in Google Chrome?
    Press the F12 key.
  3. What does console.log function do?
    It logs information to the javascript console.
  4. How can you change the contents of an HTML page through the console?
2 Likes
  1. To run Javascript commands on a webpage or log commands directly in the console.

  2. Command + alt + J

  3. Logs commands directly in the console

  4. This is what I managed to do in Console.

let p = document.createElement(“P”);
let t = document.createTextNode(“This text will be added to in HTML”);
p.appendChild(t);
document.body.appendChild§;

Don’t know much about javascript so doing this in the console makes little sense to me. Will probably get it later on. Editing HTML in the DOM Tree is much easier for me

2 Likes
  1. What is the console used for?
    It is 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 and to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google 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.

  3. What does console.log function do?
    Log JavaScript in the console. Lets you use an environment similar to a terminal shell interface.

  4. How can you change the contents of an HTML page through the console?
    We can access it through the Elements in Chrome and in Firefox through the inspector.

2 Likes
  1. A console allow you to write, manage and monitor Javascript.
  2. Top right in the browser click “More Tools”, then “Developer Tools”
  3. You can try new code in real time and see if it works.
  4. Open a HTML file using Chrome browser, open CONSOLE and modify the file
1 Like
  1. What is the console used for?
    A console is used to work with JavaScript and other programming languages. A Console is used to inspect the DOM, debug, and analyze network activity. Essentially a console has the ability to write, manage, and monitor JavaScript on demand.

  2. How do you open the Console in Google Chrome?
    A console can be open by pressing CTRL + SHIFT + J on google chrome.

  3. What does console.log function do?
    console.log will permit to input information such as text.

  4. How can you change the contents of an HTML page through the console?
    Through the console we can change HTML content by using the elements section in the developers tools.

1 Like
  1. the console in the webbrowser lets you run javascript code
  2. Ctrl Shift I opens the console in Chrome
  3. console.log lets you print to the javascript console
  4. the document object lets you edit the HTML contents / add commands 1 line at a time, this is useful for testing website code
1 Like
  1. What is the console used for? The console allows you to write, manage, and monitor javascript on a document within the browser
  2. How do you open the Console in Google Chrome? ctrl + shft + j
  3. What does console.log function do? It allows you to work within the console instead of always applying changes to the document
  4. How can you change the contents of an HTML page through the console? double click and change
1 Like