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>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Add your site or application content here -->
<h2 id="in">
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>
<form>
Age1<br>
<input type="text" id="one"><br>
Age2<br>
<input type="text" id="two">
Age3<br>
<input type="text" id="three">
<br>
<button type="button" id="avebut">Calculate the average</button>
<p id="div1"></p>
</form>
<form>
Make it lowercase!<br>
<input type="text" id="low">
<button type="button" id="lowerIt">Lower it</button>
<p id="div2"></p>
</form>
<button id="hideIntro">Hide Intro</button>
<form>
What is your letter grade?<br>
<input type="text" id="grade">
<button type="button" id="letterGrade">Tell ME!</button>
<p id="div3"></p>
</form>
Would you like to change the background color? Enter a HEX or color value here:
<input id="changeColor">
<button id="changeColorButton">Change Background Color</button>
<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>