-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (61 loc) · 2.08 KB
/
index.html
File metadata and controls
61 lines (61 loc) · 2.08 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<title>JS Functions</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery.min.js"></script>
<script src="script.js"></script>
<header>
<h1>Cool JavaScript Functions</h1>
</header>
<body>
<div>
<button onclick="addRandomQuote()">Click for Inspiration</button>
<h3 id="greeting-container"></h3>
</div>
<hr>
<form>
<h2>Input Form</h2>
<section>
<input class="forms" type="text" placeholder="First Name" required>
<input class="forms" type="text" placeholder="Last Name" required>
<input class="forms" type="text" placeholder="Favorite course" required>
</section>
<section>
<input id="Freshman" type="radio">
<label class="checkboxes">Freshman</label>
<input id="Sophomore" type="radio">
<label class="checkboxes">Sophomore</label>
<input id="Junior" type="radio">
<label class="checkboxes">Junior</label>
<input id="Senior" type="radio">
<label class="checkboxes">Senior</label>
</section>
<br>
<br>
<input id="male" type="checkbox" name="gender" value="male">
<label class="checkboxes">Male</label>
<input id="female" type="checkbox" name="gender" value="female">
<label class="checkboxes">Female</label>
<br>
<button type="submit">Submit</button>
</form>
<hr>
<h2>Progress Bars</h2>
<h4>This is how far we are in the semester:</h4>
<div id="Bar" class="bar-theme" style="width:1%">0</div>
<br>
<button onclick="move()">Click Me</button>
<hr>
<div>
<h2 id="joke">Why aren't koalas actual bears?</h2>
<button type="button" onclick='document.getElementById("joke").innerHTML =
"They do not meet the koalafications :)"'>Click for Punchline</button>
</div>
<div>
<h2>Random Font Generator</h2>
<h4 id="fonts" onclick="changeFont()">Click Here to Begin!</h4>
</div>
</body>
</html>