-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript.js
39 lines (17 loc) · 2.1 KB
/
script.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
// --------------------------------------------------------------
// Hello Word --> code your first console.log statement below!
// Mini Challenge --> OPTIONS: (1) Print out a five-sentence story with five different statements. (2)Google the phrase ASCII-art and try to make your progrma print it out to the console. Type your code below.
// --------------------------------------------------------------
// Strings & Creating Variables --> Code a variable that stores your greeting program user's name below.
// Mini Challenge --> OPTIONS: (1) Change the string 'Eli' to another name. What prints to the console? (2)Create another variable 'hometown' and enter your hometown. Print the value of this variable in your console. Type your code below.
// --------------------------------------------------------------
// Numbers & Boolean Data Types --> Code a variable that stores your greeting program user's age below.
// Numbers & Boolean Data Types --> Code a variable that stores your greeting program user's boolean value of their location 'at_home' or 'at_work' below.
// --------------------------------------------------------------
// Concatenating with Variables --> Code a console.log statement that prints your greeting program user's name along with a greeting below.
// Mini Challenge --> Print another message to the console by concatenating two variables into one string. Type your code below.
// --------------------------------------------------------------
// JavaScript String Methods --> (1)Code a console.log statement that prints your greeting program user's name in capital letters below. (2) Code a console.log statement that prints the number of letters in your greeting program user's name below.
// --------------------------------------------------------------
// User Input --> Use the keyword 'prompt' to code a variable that allows a user to input their name into your greeting program below.
// Mini Challenge --> Create another variable named 'fave_movie' that prompts the user to enter the name of their favorite movie below. Code a console.log statement that uses the variable below.