-
Notifications
You must be signed in to change notification settings - Fork 0
/
crashcourse.js
86 lines (33 loc) · 1.67 KB
/
crashcourse.js
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
// CRASH COURSE JS
// ==========================================================
// 1. BASIC VARIABLES
// ==========================================================
// Create a basic variable
// 2. ARRAYS
// ==========================================================
// Create an array of five strings
// Create an array of five numbers
// 3. FOR LOOPS
// ==========================================================
// Create a for loop that loops through and prints "My name is Bob five times"
// Create a for loop that loops through your five string array
// 4. FUNCTIONS
// ==========================================================
// Create a function that takes two numbers and divides the first number by the second.
// Then call that function
// Create a function that takes in an array of numbers and then loops through the array and prints out numbers.
// Then call that function
// 5. OBJECTS
// ==========================================================
// Create a JavaScript Object
// Console log any three of the properties in that object
// Create an Array of 5 Objects
// Console log 3 properties for every one of the five objects
// 6. JQUERY EVENTS
// ==========================================================
// Create a basic html button then create an onClick event that triggers an on click event.
// 7. OVERALL STRUCTURE
// ==========================================================
// Talk to student a little about the approach for "getting started" on an application.
// Talk about the concept of variables, functions, calls.
//"fizzbuzz exercise"