forked from truecodersio/JavaScript_Variables
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
29 lines (18 loc) · 586 Bytes
/
app.js
File metadata and controls
29 lines (18 loc) · 586 Bytes
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
console.log("Hello World!\n==========\n");
console.log(
"Follow the steps in the README.md file to complete the exercises:\n==========\n"
);
// Exercise 1
const firstName = "Jeremy";
let lastName = "Franco";
var myAge = "32";
// Exercise 2
let fullName = 'firstName + " " + lastName';
let templateFullName = '${firstName} + ${lastName}';
console.log(fullName);
// Exercise 3
let fullName = 'Jeremy Franco';
let city = 'Lubbock';
let passtime = 'golf';
let myStory = `Hello! My name is ${fullName}. I live in ${city}. I enjoy ${passtime} and coding!`;
console.log(myStory);