-
Notifications
You must be signed in to change notification settings - Fork 0
/
java.html
118 lines (112 loc) · 4.08 KB
/
java.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="stats.css">
<link href="https://fonts.googleapis.com/css?family=Quicksand:700%7CSource+Code+Pro:600i&display=swap" rel="stylesheet">
<meta charset="utf-8">
<title>Projects | S(HE)TEM</title>
</head>
<body>
<div id = "otherCovering" class ="covering">
</div>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="index.html">Home</a>
<a href="history.html">History</a>
<a href="projects.html">DIY Projects</a>
<a href="interviews.html">Interviews</a>
<a href="quizzes.html">Quizzes</a>
<a href="resources.html">Resources</a>
<a href="team.html">Team & The Process</a>
</div>
<h1>HOW MUCH JAVASCRIPT DO YOU KNOW?</h1>
<div class="questions">
<div class = "q1">
<p>1) How do you store a number or phrase into code?</p>
<div>
<div>
<input class = "answer1" type="radio" name="q1" value="variable"> variable
</div>
<div>
<input class = "answer2" type="radio" name="q1" value="letter"> letter
</div>
<div>
<input class = "answer32" type="radio" name="q1" value="store"> storage
</div>
<div>
<input class = "answer33" type="radio" name="q1" value="other"> other
</div>
<button class = "submit" name="button"> Submit</button>
<div class = "container">
</div>
<div class= "q2">
<p>2) How can you call the 2 in this array? var array = [0,1,3,4,2]</p>
</div>
<div>
<input class="answer3" type="radio" name="q2" value="2"> array[2]
</div>
<div>
<input class="answer4" type="radio" name="q2" value="5"> array[5]
</div>
<div>
<input class="answer42" type="radio" name="q2" value="4"> array[4]
</div>
<button class = "submit1" name="button"> Submit</button>
<div class = "container1">
</div>
<div class= "q3">
<p>3) If you want to repeat code over again what type of code should you use?</p>
</div>
<div>
<input class = "answer5" type="radio" name="q3" value="loop"> loops
</div>
<div>
<input class = "answer6" type="radio" name="q3" value="if"> if-else statements
</div>
<div>
<input class = "answer63" type="radio" name="q3" value="if"> variables
</div>
<button class = "submit2" name="button"> Submit</button>
<div class = "container2">
</div>
<div class= "q4">
<p>4) What tool can you use to draw in Javascript?</p>
</div>
<div>
<input class = "answer8" type="radio" name="q4" value="draw"> draw programming
</div>
<div>
<input class = "answer7" type="radio" name="q4" value="turtle"> turtle programming
</div>
<div>
<input class = "answer82" type="radio" name="q4" value="turtle"> turtle draw
</div>
<button class = "submit3" name="button"> Submit</button>
<div class = "container3">
</div>
<div class= "q5">
<p>5) Which one of these is true about functions?</p>
</div>
<div>
<input class = "answer10" type="radio" name="q5" value="2"> functions can't be executed when clicked on by a button
</div>
<div>
<input class = "answer11" type="radio" name="q5" value="3"> functions can't define variables inside of them
</div>
<div>
<input class = "answer12" type="radio" name="q5" value="1"> functions can't repeat code
</div>
<div>
<input class = "answer9" type="radio" name="q5" value="3"> functions have if-else statements inside of them
</div>
<button class = "submit4" name="button"> Submit</button>
<div class = "container4">
</div>
<span style="font-size:30px;cursor:pointer" onclick="openNav()">☰</span>
<script src="https://cdnjs.cloudflare.com/ajax/libs/paper.js/0.12.0/paper-core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/simplex-noise/2.4.0/simplex-noise.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="java.js"></script>
</body>
</html>