-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTHM-JS-Solution
More file actions
38 lines (38 loc) · 1.07 KB
/
Copy pathTHM-JS-Solution
File metadata and controls
38 lines (38 loc) · 1.07 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
#task 1 : intoduction to JS :
Let's Begin!
No answer needed
#Task 2 Variables & Operators
What type of data type is this: 'Neo'?
String
What data type is true/false?
boolean
What is John's occupation?
Master Hacker
What tag is used for linking a JavaScript file to HTML?
script
#Task 3 ConditionalsCongratulations! You can now write conditionals!
No answer needed
#Task 4 Functions
Finished with Functions!
No answer needed
#Task 5 Objects & ArraysWhat type of brackets are used for arrays?
[]
What color pill did we choose?
Red Pill
What is the output of this code?
Tyrell
#Task 6 Loops
Loops repeat until the written code is finished running (true/false)
true
What loop doesn't require the condition to be true for it execute at least once?
do...while
#Task 7 Document Object Model (DOM)
What is the DOM?
Document Object Model
#Task 8 XSSWhat is it called when XSS is used to record keystrokes?
Keylogging
#Task 9 Final NotesavaScript Basics Master!
No answer needed
#Task 10 JavaScript Challenge :
Sort the array [1,10,5,15,2,7,28,900,45,18,27]
[1,2,5,7,10,15,18,27,28,45,900]