What should be on my Example Scripts Practice/Portfolio Page

SAVE AS examples.html in your practice folder

<html>

<head>

<title>Example Scripts I’ve Written</title>

<link rel="script" href="ref/clock.js"> Linked to our page at the end of October!!!

</head>

<body>

<h1>Example Scripts I’ve Written</h1>

<br><br>

  1. Current Date and Time
  2. Alert Box
  3. Rebels1 Password

<script>

function myFunction() {

var txt;

var person = prompt("Please enter your password:", "");

    if (person == "Rebels1") {window.open(”www.youwin.com”); }

    else { txt = "denied " ;} YOU COULD ALSO HAVE IT GO TO WINDOW.OPEN TO A NEW DENIED PAGE

    document.getElementById("pass").innerHTML = txt; }

</script>

  1. Two State On/Off (Lightbulb ex) Image Swap (like the lightbulb in W3Schools) INSERT digital your new light-bulb image example from JAVASCRIPT HERE
  2. Analog Clock 
  3. ICON from the <head> browser tab with your initials posted HERE
  4. Beginning of class Animation
  5. Music Player
  6. Contact fill-in-form (name, email, description of problem)
  7. Games (with a drop-down including the following game files)
  1. Snake or Pong Game Skin (changed like your js clock so it’s YOUR version of what the game might look like)
  2. S2 Construct 3 Game (with less than 30 events / sprites)
  3. S2 JavaScript Game
  1. __________
  2. SEMESTER 2 → Python Pen Illustrations
  1. Mickey Mouse Face Drawing
  2. Mandala Animation

MENU SKIN to include: index + examples + games + ____ + contact (w/ form)


CREATE AN ALL NEW FILE IN YOUR REF FOLDER called clock.js