-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
38 lines (31 loc) · 1.14 KB
/
app.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
let resume = {
Name: "david swatzell",
Career: "Musician/Bartender",
description: "I Collect Vinyl and produce records",
interests: ["* Music", "* Records", "* Technology", "* Theme parks", "* Traveling"],
pastPositions: ["bartender", "musician"],
skills: "music production"
};
console.log("Name:", resume.Name.toUpperCase());
console.log("Career:", resume.Career);
console.log("Description:", resume.Description);
console.log("My Interests:");
// console.log(resume.Interests[0]);
// console.log(resume.Interests[1]);
// console.log(resume.Interests[2]);
// console.log(resume.Interests[3]);
// console.log(resume.Interests[4]);
for (let i = 0; i < resume.interests.length; i++) {
console.log(resume.interests[i])
}
function displayPosition(companyName, jobTitle, description) {
console.log("* " + jobTitle + " at " + companyName + " - " + description);
};
displayPosition("WRAY", "Guitar", "Shredding")
function displaySkill(skillName, isCool) {
if (isCool === true) {
console.log("* BAM: " + skillName)
} else { console.log("* " + skillName) }
};
displaySkill("guitar", true)
displaySkill("english", false)