This file contains 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> | |
<head> | |
<title>CSS selectors - Exercise 1</title> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" type="text/css" href="selectors-exercise.css"> | |
</head> | |
This file contains 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
<script> | |
document.write ("<h1>FizzBuzz</h1>"); | |
for (var count = 1; count <= 100; count++) { | |
document.write (count + " "); | |
if (count % 3 == 0) { | |
document.write ("Fizz"); | |
} | |
if (count % 5 == 0) { | |
document.write ("Buzz"); | |
} |
This file contains 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
document.write ("<h1>FizzBuzz</h1>"); | |
for (var count = 1; count <= 100; count++) { | |
document.write (count + " "); | |
if (count % 3 == 0) { | |
document.write ("Fizz"); | |
} | |
if (count % 5 == 0) { | |
document.write ("Buzz"); | |
} | |
document.write ("<br>") |
This file contains 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> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script type="text/javascript" src="fizzbuzz.js"></script> | |
</body> | |
</html> |
This file contains 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> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script type="text/javascript" src="fizzbuzz.js"></script> | |
</body> | |
</html> |
This file contains 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> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script type="text/javascript" src="fizzbuzz.js"></script> | |
</body> | |
</html> |
This file contains 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 { | |
background-color: #bbd1e0; | |
font-family: Verdana; | |
color: white; | |
} | |
#wrapper { | |
width: 900px; | |
margin-left: auto; | |
margin-right: auto; | |
padding: 20px; |
This file contains 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 { | |
background-color: #bbd1e0; | |
font-family: Verdana; | |
color: white; | |
} | |
#wrapper { | |
width: 900px; | |
margin-left: auto; | |
margin-right: auto; | |
padding: 20px; |
This file contains 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> | |
<head> | |
<link rel="stylesheet" type="style/css" href="assets/css/moviestyles.css"> | |
<script type="text/javascript" src="assets/js/improvedmovie.js"></script> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div id="wrapper"> |
This file contains 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
#board { | |
width: 300px; | |
height: 300px; | |
position: relative; | |
} | |
.square { | |
height: 100px; | |
width: 100px; | |
position: absolute; | |
} |
OlderNewer