-
Notifications
You must be signed in to change notification settings - Fork 0
/
happiness_engine.html
45 lines (37 loc) · 1.26 KB
/
happiness_engine.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>The Happiness Engine</title>
<link rel="stylesheet" type="text/css" href="happiness_engine.css" />
</head>
<body>
<div id="top_bar"><h1>Project 1: The Happiness Engine</h1></div>
<div id="container">
<div class="enterbox">
<h1>How Happy is Your Code?</h1>
<div id="formington">
<form name="formie">
<textarea name="textie" cols="100%" rows="25"></textarea>
</form>
</div>
<div class="submitButtons">
<a href="#"><div id="gobutton">count smiles</div></a>
<a href="#"><div id="clearbutton">clear form</div></a>
</div>
</div>
<div id="answerbox">
<div class="onBoxText"><p>Your code smiled</p></div>
<div id="NumSmiles">_</div>
<div class="smileyface"><img class="smileyface2" src="_images/smiley.png" />
</div>
<p id="wordSmile">Times</p>
</div>
</div>
<!--TEST SENTENCE, RESULTS IN ONE SMILE-->
<!--What's going on: this is a line - a sentence really, that tests for smiles (it may not work.)-->
<script lang="javascript" type="text/javascript" src="happiness_engine.js">
</script>
</body>
</html>