This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-us"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>-Where's Waldo? Picture #1-</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| <script type="text/javascript" src="scripts.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-us"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>-Where's Waldo? Picture #1-</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| <script type="text/javascript" src="scripts.js"></script> | |
| </head> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-us"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>-Where's Waldo? Picture #1-</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| <script type="text/javascript" src="scripts.js"></script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| width: 800px; | |
| margin-right: auto; | |
| margin-left: auto; | |
| background-color: rgb(255, 248, 209); | |
| background-image: url("images/WaldoBG.jpg"); | |
| background-position: center; | |
| background-size: cover; | |
| background-repeat: no-repeat; | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.addEventListener('load', function(){ | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var startTimer = Date.now(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var startTimer = Date.now(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getXY(e){ | |
| var xPosition = e.offsetX; | |
| var yPosition = e.offsetY; | |
| } | |
| var picClick = document.getElementById("WaldoLevel1"); | |
| picClick.addEventListener('click', getXY); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function endTimer(){ | |
| var endingTime = Date.now(); | |
| var totalTime = endingTime - startTimer; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function convertToReadableTime(millis){ | |
| var timeArray = []; | |
| var hundredths = findHundredths(millis); | |
| var x = Math.floor(millis / 1000); | |
| var seconds = Math.floor(x % 60); | |
| x /= 60; | |
| var minutes = Math.floor(x % 60); | |
| x /= 60; |
OlderNewer