Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 629 Bytes

javascript-in-browser.md

File metadata and controls

13 lines (8 loc) · 629 Bytes

Working with javascript in the browser

You can access the Developer Tools of your browser through the menu: image

You should see something like this. The command line is the Javascript console. image

  • Try typing console.log("Hello!") to see the console write Hello!

  • Try typing 1+1 to see the console return the value ```2``

  • Try typing Math.sin(Math.PI/3) to get the $\sin(\pi)$