Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body id="bod">
<h2>
Getting so good at Javascript!
</h2>
<p id="intro">
This is an assignment/exercise which will review our skills in functions, if statements, switches, and accessing the DOM. Leave this text here at the top, but you may need to create more HTML below that will collect your input. You will need to research a few additional topics on your own. I'll help.
</p>
<button onclick="hide()">Submit</button>
<form>
<input id="a" type="number" name="a" value="age1"><br>
<input id="b" type="number" name="b" value="age2"><br>
<input id="c" type="number" name="c" value="age3"><br>
</form>
<button onclick="average()">calculate the average!</button>
<p id="avg"></p>
<form>
<input id="D" type="type" name="a" value="say something"><br>
</form>
<button onclick="lower()">Submit</button>
<p id="lowr"></p>
<form>
<input id="E" type="type" name="a" value="grade?"><br>
</form>
<button onclick="grading()">my thoughts?</button>
<p id="grad"></p>
<form>
<input id="F" type="type" name="a" value="color or hex"><br>
</form>
<button onclick="hue()">Colors are fun</button>
<p id="grad"></p>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.12.0.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
</script>
</body>
</html>