Copy and paste the code below into a new file called index.html
on your computer. Open it in your browser. Be sure to open the console to see your console.log
statements!
<!DOCTYPE html>
<html>
<body>
<script>
// your code here
</script>
</body>
</html>