2014-12-01 15:22:51 -05:00

31 lines
822 B
HTML

<!doctype HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="reset.css">
<link rel="stylesheet" type="text/css" href="main.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<nav id="top">
<h1>JQuery Basics</h1>
</nav>
<div class = "row">
<div class = "col">
<div class = "box" id = "box-1"></div>
<p>The box color is <span id = "color-1"></span></p>
</div>
<div class = "col">
<div class = "box" id = "box-2"></div>
<p>The box color is <span id = "color-2"></span></p>
</div>
<div class = "col">
<div class = "box" id = "box-3"></div>
<p>The box color is <span id = "color-3"></span></p>
</div>
</div>
</div>
</body>
</html>