00:01:04 José Abreu: Hello guys 00:02:28 Zac Gordon: 1. Create two variables, one for your first name and one for your last name 00:03:26 Zac Gordon: 2. Create a variable called fullName that includes both 00:03:33 Zac Gordon: 2. Create a variable called fullName that includes both 00:04:21 Zac Gordon: 3. Create a variable called welcomeMessage that logs the full name to the console with a greeting 00:04:23 Zac Gordon: 3. Create a variable called welcomeMessage that logs the full name to the console with a greeting 00:05:21 Zac Gordon: 4. Create two variables, a and b and assign them numbers 00:06:10 Zac Gordon: 5. Add a and b 00:06:16 Zac Gordon: 6. Subtract b from a 00:06:55 Zac Gordon: 7. What happens when you add `10` + 10 in JavaScript? 00:08:02 Zac Gordon: 8. Create a variable called loggedIn and set to false 00:08:24 Zac Gordon: 9. Write a conditional statement that says `Please Log In` if loggedIn is false 00:09:48 Zac Gordon: 10. Extend your conditional statement to display fullName if loggedIn is changed to true 00:10:09 Zac Gordon: ** Display welcomeMessage if loggedIn is true ** 00:11:09 Cameron Campbell: Done 00:11:10 Ivan Juras: Done 00:11:18 Pea: don 00:11:28 cfalzone: Done 00:11:43 Michael Fienen: Done. 00:12:00 José Abreu: I’m still in the firsts :( 00:12:01 Steve Horn: please proceed without me 00:12:16 Laurie A Sutherland: done 00:12:24 Steve Rudolfi: done 00:12:54 Laurie A Sutherland: Zac can you repeat the function suggestion? 00:13:27 Laurie A Sutherland: thx 00:14:15 Cameron Campbell: const first = `Cameron`; 00:14:27 Cameron Campbell: const last = `Campbell`; 00:14:59 Zac Gordon: var first = "Cameron" 00:15:13 José Abreu: const firstName = `Jose`; const lastName = `Abreu`; const fullName = firstName + lastName; const welcomeMessage = `Howdy!` + fullName; console.log(welcomeMessage); 00:16:01 Ivan Juras: const fullName = `${name} ${lastName}` 00:16:13 Ivan Juras: name = firstName 00:16:37 Zac Gordon: const fullName = name + lastName 00:17:24 Fathima Zahrah: const welcomeMessage = function(){ console.log(`Hi ${fullName}`); } 00:18:19 Jim Reevior: const a = 5; const b = 6; 00:18:55 Todd M: const c = a + b; 00:19:21 Brianner: console.log( b - a ); 00:20:13 Pea: const c = `10`; const d = 10; const added = c + d; 00:20:24 Pea: 1010 00:21:59 cfalzone: // 8. let loggedIn = false; if (!loggedIn) { console.log(`Please Log In`); } 00:23:18 Zac Gordon: if ( loggedIn == false ) 00:23:25 Zac Gordon: if ( loggedIn === false ) 00:24:02 Laurie A Sutherland: === matches on type 00:25:45 Zac Gordon: const bool1 = 0 00:25:51 Zac Gordon: const bool1 = false 00:26:22 Zac Gordon: if ( 0 == false ) 00:26:27 Zac Gordon: if ( 0 === false ) 00:27:03 Zac Gordon: const bool2 = `flaskjsdflkj` 00:27:12 Fabian Kägy: 0 | false | undefined | null 00:27:47 Fabian Kägy: these will give you falsy results 00:28:07 Michael Fienen: loggedIn = true; if (!loggedIn) { console.log(logInMessage); spitOut(`#10: ${logInMessage}`); } else { console.log(welcomeMessage); spitOut(`#10: ${welcomeMessage}`); } 00:28:25 Michael Fienen: function spitOut(content) { const el = document .getElementById('results'); el.insertAdjacentHTML('beforeend', `