Skip to content

Commit 4fc2b43

Browse files
committed
new file
1 parent 04a2725 commit 4fc2b43

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// TODO: Create 4-String variables to introduce develop your story.
2+
// YOUR CODE GOES HERE
3+
let greeting = "Welcome to my Jungle!";
4+
let name = 'Kala';
5+
let animal = 'Panther';
6+
let role = 'Queen of the Jungle';
7+
8+
// TODO: Create 3-String variables to set the time period of your story or discuss other number elements.
9+
10+
let age = 23
11+
let year = 1299
12+
let century = 13
13+
14+
// TODO: Create 1-Array variable to show a collection of items your character might have.
15+
16+
let animalsAround = ['monkey','bear','snake','rabbit'];
17+
18+
// TODO: Create 1-Boolean variable to demonstrate a true or false scenario.
19+
20+
let hasKids = false;
21+
22+
// TODO: Print your story to the console.
23+
console.log(greeting + "My name is " + name + ".");
24+
console.log("I'm a " + animal + ".");
25+
console.log("I'm the " + role + ".");
26+
console.log("You have traveled back in time to " + year + ". The " + century + "th century.");
27+
console.log("Do any of you humans have a question?");
28+
console.log("Me: Yes do you have any kids?");
29+
console.log("Kala: " + hasKids + "\n");
30+
console.log("You guys are free to roam around, just be careful of " + animalsAround[2] + " he tends to be unforgiving to people he doesn't know.");

0 commit comments

Comments
 (0)