Skip to content

Commit fa6353a

Browse files
committed
create finished files for video 11
1 parent 67383cc commit fa6353a

File tree

2 files changed

+162
-0
lines changed

2 files changed

+162
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/* eslint-disable */
2+
/*
3+
const name = 'wes';
4+
const middle = "topher";
5+
const last = `bos`;
6+
7+
const sentence = "shes's so \"cool\"";
8+
const sentence2 = `shes's so "cool"`;
9+
10+
const song = `Ohhh
11+
12+
ya
13+
14+
I like
15+
pizza`;
16+
17+
const hello = 'hello my name is ' + name + ". Nice to meet you";
18+
19+
let hello2 = 'hello my name is ';
20+
hello2 = hello2 + name;
21+
hello2 = hello2 + ' Nice to meet you';
22+
23+
const hello = `hello my name is ${name}. Nice to meet you. I am ${1 + 100} years old`;
24+
25+
const html = `
26+
<div>
27+
<h2>${name}</h2>
28+
<p>${hello}</p>
29+
</div>
30+
`;
31+
32+
document.body.innerHTML = html;
33+
34+
*/
35+
36+
// const age = 100.5;
37+
// const name = 'wes';
38+
39+
// const a = 10;
40+
// const b = 20;
41+
/*
42+
const smarties = 20;
43+
const kids = 3;
44+
const eachKidGets = Math.floor(smarties / kids);
45+
const dadGets = smarties % kids;
46+
console.log(`Each kids gets ${eachKidGets}`);
47+
48+
const price = 1034;
49+
*/
50+
51+
const person = {
52+
first: "wes",
53+
last: "bos",
54+
age: 100,
55+
};
56+
57+
let dog;
58+
console.log(dog);
59+
dog = "snickers";
60+
61+
let somethingUndefined;
62+
const somethingNull = null;
63+
64+
const cher = {
65+
first: "cher",
66+
};
67+
68+
const teller = {
69+
first: "Raymond",
70+
last: "Teller",
71+
};
72+
73+
teller.first = "Teller";
74+
teller.last = null;
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/* eslint-disable */
2+
/*
3+
const name = 'wes';
4+
const middle = "topher";
5+
const last = `bos`;
6+
7+
const sentence = "shes's so \"cool\"";
8+
const sentence2 = `shes's so "cool"`;
9+
10+
const song = `Ohhh
11+
12+
ya
13+
14+
I like
15+
pizza`;
16+
17+
const hello = 'hello my name is ' + name + ". Nice to meet you";
18+
19+
let hello2 = 'hello my name is ';
20+
hello2 = hello2 + name;
21+
hello2 = hello2 + ' Nice to meet you';
22+
23+
const hello = `hello my name is ${name}. Nice to meet you. I am ${1 + 100} years old`;
24+
25+
const html = `
26+
<div>
27+
<h2>${name}</h2>
28+
<p>${hello}</p>
29+
</div>
30+
`;
31+
32+
document.body.innerHTML = html;
33+
34+
*/
35+
36+
// const age = 100.5;
37+
// const name = 'wes';
38+
39+
// const a = 10;
40+
// const b = 20;
41+
/*
42+
const smarties = 20;
43+
const kids = 3;
44+
const eachKidGets = Math.floor(smarties / kids);
45+
const dadGets = smarties % kids;
46+
console.log(`Each kids gets ${eachKidGets}`);
47+
48+
const price = 1034;
49+
*/
50+
51+
52+
/*
53+
const person = {
54+
first: 'wes',
55+
last: 'bos',
56+
age: 100
57+
};
58+
59+
60+
let dog;
61+
console.log(dog);
62+
dog = 'snickers';
63+
64+
65+
let somethingUndefined;
66+
const somethingNull = null;
67+
68+
const cher = {
69+
first: 'cher'
70+
};
71+
72+
const teller = {
73+
first: 'Raymond',
74+
last: 'Teller'
75+
}
76+
77+
teller.first = 'Teller';
78+
teller.last = null;
79+
80+
*/
81+
82+
let isDrawing = false;
83+
let age = 18;
84+
const ofAge = age > 19;
85+
console.log(ofAge);
86+
87+
age = 100;
88+
let age2 = 100;

0 commit comments

Comments
 (0)