Intro to Javascript

  1. Open your text editor
  2. Type this code
  3. Save as “.html”
<!DOCTYPE html>
<html>
<body>
<script>
console.log("Hello world");
</script>
</body>
</html>

Select your file (left click). Then right click on your file. You can open it with the text editor (if you want to code). or open it with the browser (Chrome, Safari, Fire Fox) if you want to test your work.