IRC log of #novawebdev for Monday, 2026-09-07

mulbah07_ has quit (Remote host closed the connection)02:57
smohamud has quit (Remote host closed the connection)07:55
smohamud has quit (Remote host closed the connection)09:15
smohamud has quit (Ping timeout: 480 seconds)09:50
mulbah has quit (Remote host closed the connection)10:04
mulbah has quit (Remote host closed the connection)10:09
mulbah has quit (Quit: Leaving)10:15
gabriel_jetroGood morning dcammue and thomasboimah 10:59
thomasboimahGood morning gabriel_jetro 10:59
smohamudFor those joining classs today: https://prod.liveshare.vsengsaas.visualstudio.com/join?7E2A6E679810A881B36035845040120E8AC111:00
smohamudPlease begin connecting.11:00
smohamudAnd good afternoon :)11:01
thomasboimahI did not do much these past few days because I was not feeling too well, but thank God I am feeling fine now and ready to get back to work. After the JavaScript class today, I will be meeting with Smohamud to plan out how we’ll tackle the Infra project. I will also log in to my UoPeople portal to complete my assignment. I will also try to finish turning the Jetrowebdevelopment branch on LO into deployment repositories, following the same patter11:01
thomasboimahn zOnny used for the Claudia Jones School branch. No blockers.11:01
thomasboimahACTION done11:01
dcammueOn yesterday, I attended the Jetro Web meeting and we had a great conversation about who to represent or hold Jetro account at the Credit Union and we voted jkollie and fkoikoi. today, i will keep my research on tax basic11:02
dcammueno blocker11:02
dcammueACTION done11:02
smohamudStandup: Followed up w/NSS team with workflow question for them to answer. Prepped JS class. Began reading through FixMyCd App for client. 11:02
smohamudNo blockers.11:02
dcammueGood morning smohamud, gabriel_jetro, and freena_ 11:02
jkollieYesterday I get to work on the about and services page of one of the site am building and practicing on, I also attended a very productive jetro meeting last night regarding the credit union. Today am going to do some practices on JavaScript from what I've been reading. No blocker11:03
dcammuegood morning jkollie 11:03
jkollieACTION done 11:03
smohamudGood morning. For those attending class, again here's the link. Please begin connecting: https://prod.liveshare.vsengsaas.visualstudio.com/join?7E2A6E679810A881B36035845040120E8AC111:03
jkollieGood morning dcammue 11:03
freena_Yesterday i attended a meeting that was held by dcammue, Today I want to work on the css part of my contact page. 11:04
freena_ACTION done11:04
freena_Good morning all11:04
smohamudMorning Freena11:04
smohamudYou all are doing great. Great updates. Does anyone want help with anything they're working on?11:05
jkollieGood morning smohamud 11:06
jkollie-1 for now 11:06
freena_For me -1 for now but will reach out if i am stock with something later 11:06
smohamudCurrently, it's just me and Thomas in the Live Share coding session by the way: https://prod.liveshare.vsengsaas.visualstudio.com/join?7E2A6E679810A881B36035845040120E8AC111:06
smohamudGood morning. Sounds good 11:06
dcammueThanks11:07
smohamudDaniel - could you get your feedback about the class to me before the end of today? It should take 5 minutes or less.11:07
smohamudGabriel - could you also do so? I have only gotten from Jallah and Thomas.11:07
dcammueYou mean i should state me feedback about the class?11:08
dcammuenow?11:08
smohamudThomas and Daniel, please look at the Quiz at the top and prepare answers.11:08
smohamudYes, please. After class, ideally tonight if you can.11:08
smohamudIt's in the Group Chat.11:08
smohamudThe quiz now, the feedback later :)11:09
smohamudIt's just Thomas and I in the session. Is anyone else trying to connect besides Daniel?11:10
smohamudsession (again): https://prod.liveshare.vsengsaas.visualstudio.com/join?7E2A6E679810A881B36035845040120E8AC111:11
smohamudJanet - I haven't heard from you and noticed you're still self-studying JS. 11:13
smohamudIs there a reason you prefer to self-study rather than join our Intro class?11:13
smohamudNo pressure to join, just curious.11:14
jkollieI've been joining actually 11:14
jkollieIt's just that am using my phone to join the hexchat right now that why11:14
smohamudOk, and you can't join the VS Code?11:15
smohamudStill just Thomas and I.11:15
jkollieI need my laptop to join the vs code smohamud 11:15
smohamudWould there be a better time for us to meet, when you have your laptop avaialbe?11:16
jkollieam about to join11:16
smohamudThomas - do you have answers for the Quiz?11:16
dcammuemy anser to the quiz: 1. will out put "true", and 2. will out put "false", and 3. first statement will output "false", and second statement will out put "true"11:17
thomasboimahyes11:17
thomasboimahtry to compose my answer11:17
dcammue*answer11:17
smohamudThank you Daniel. Sounds good Thomas.11:17
smohamuddcammue, is there a reason you're not in session?11:18
smohamudI need help knowing why it's taking 10+ minute for everyone to join the session... Besides Janet, Dcammue is there a common issue you're facing?11:19
thomasboimah1. objectTwo is assigned the same reference as objectOne. Both point to the exact same object in memory, so == compares references and returns true. 2. Even though objectOne and objectThree have the same properties and values, they are different objects in memory. The == operator compares references, not content, so it returns false. 3. part one (1) numOne > 100 is false (100 is not greater than 100), so the entire condition is false, and the else 11:19
thomasboimahblock runs. 4. part two(2) It would print False because numOne > 100 is false.11:19
dcammueam i not in the live share?11:19
dcammuesorry, i just notice it11:20
dcammuemy bad;, i idid not check it up11:20
smohamudNo problem.11:20
smohamudGabriel, freena, are you planning to join?11:21
dcammueplease confirm11:21
dcammueplease confirm smohamud 11:22
smohamudDaniel - do you automatically get dropped from the session? 11:22
dcammueyes11:22
smohamudDcammue, I will confirm by running the script :)11:22
dcammueplease approved me11:22
smohamudOk, have you disabled all the VS extensions besides the Live Share?11:22
dcammuethat's why i mean11:22
smohamudOk, I'm not seeing the approval request, sorry. Please send again.11:23
dcammuesmohamud, please check11:24
smohamudI'm looking. It says you left a minute ago...11:25
dcammuethanks11:26
smohamudGreat, we have everyone now. It's possible because I had a second VS Code window open, that led to an issue.11:26
smohamudWe've got 3 in session, if anyone else wants to join let me know11:26
smohamudOk, we're shooting for 45m today MAX 1hr.11:27
smohamudJanet, have you answered the Quiz questions?11:27
jkollieNot yet, 11:28
smohamudWould you like to? It's a tough quiz based on last week's lessons.11:28
smohamudTough for anyone who hasn't explored reference vs value in JS11:29
smohamudYes, no?11:31
jkollieLet me try 11:31
smohamudOk, sounds good. Please attempt in the next two minutes.11:31
smohamudWe will get moving at 2:33pm, it's okay if you haven't completed all.11:31
smohamudThomas and Daniel. Please read the notes on Statements and Program Structure below the Quiz. That's where we're starting and it defines Statements vs. Expressions, building blocks of all JS programs.11:32
smohamudOk Janet, can you share what you have so far?11:33
smohamudNo pressure, I know we're a bit rushed here.11:33
jkollieIt's okay, am still trying to understand better 11:34
smohamudThat's fine. I encourage to share even when you're unsure because the wrong answer is more valuable to learning that the right answer :)11:35
smohamudWe identify the gap and can fill it in. 11:35
smohamudMoving on, let's run it!11:35
smohamudTrue. False. False. True.11:36
smohamudBoth of you who answered nailed it. Thomas, I appreciate you sharing your reasoning too. Your response shows me you're building a deep, correct understanding.11:36
smohamudOk, today's on Statements and Expressions. 11:36
smohamudAnd Bindings.11:36
smohamudStatements: Perform actions. For loop, if statement, variable declaration, reassignment etc.11:37
smohamudExpressions: produce a value. The result of 5+5, the right-hand side of a variable declaration. 11:38
smohamud^If it's a function expression.11:38
smohamudOr, if it's a literal. Like "5" or 42; these are expressions, they're able to be treated as values in JS.11:39
smohamudIs everyone following?11:39
jkollie+111:40
thomasboimah+111:40
dcammue+111:40
smohamudGreat.11:40
smohamudNow, as mentioned in a previous class, programs run from line 1...to the end. In between, you'll find a Statements and Expressions. Statements are what move the program forward, managing the logical flow. Statements can contain expressions and often do.11:41
smohamudImagine an if-statement like the one I'm writing in the shared document. Who can identify an expression in this?11:42
smohamudLine 65.11:43
thomasboimahsmohamud, i drop share11:43
thomasboimahcan you accept me request11:43
thomasboimah*my11:43
smohamudOk, two people dropped.11:44
smohamudYes, I can accept.11:44
smohamuddcammue, we lost you too.11:46
jkollieThe *if* statement. smohamud 11:46
thomasboimahnice jkollie which is the 100 > 9911:47
jkollie99 is less than 10011:47
smohamudGreat job, both of you.11:47
jkollieThanks 11:47
dcammuecan you please approve me11:48
smohamudDone11:49
smohamudYes, that's the expression. It evaluates to a Boolean value, False. Therefore, it's an expression.11:49
smohamudMoving on. To Function Expressions vs. Function Delcarations. Two terms we're familiar with by now.11:50
smohamudSo, with function expressions it means that rather than jump right in and use the function keyword.11:52
smohamudLike function getRentPrice(){ }11:52
smohamudwe *assign* it to a variable and on the *right* side we can use the function keyword and define the function.11:53
smohamudThe critical thing to note is that the function expression is referring to how/where the function keyword is being used.11:53
thomasboimah has quit (Remote host closed the connection)11:54
smohamudA function declaration is *not* an expression. It does not yield a value on its own. See line 81.11:56
smohamudMore correctly, it's no serving as a value, the JS engine treats it differently. It sees *function* with no assignment and as we know, it *hoists* the function.11:57
smohamudAmong other things, but that's the big one.11:57
smohamudIs everyone following so far?11:57
smohamudAny questions?11:57
smohamudLooks like you've dropped Thomas11:57
dcammue+111:58
jkollieI'm following 11:58
dcammueso for the expression the says, let y = (x=100);, will x === y?11:59
smohamudOk, so, let's run 80 and 81 and see the output.11:59
smohamudGreat question dcammue, we'll get there in just a minute.11:59
smohamudAnd test it directly.11:59
dcammueokay11:59
smohamudOn line 70, the function itself is an expression. AND the return statement has an expression, too. 2+2.12:00
smohamudOutput is 4.12:00
smohamudFor the function declaration on line 76, logging out it's output gives us undefined. 12:01
smohamudIs undefined a value?12:01
smohamudThat's a question for you guys.12:02
dcammuedefault value12:02
smohamudGood. So it is a value.12:03
smohamudEven though the return produces "undefiend" it *does not* contain an expression. Exactly because it *is* the default value, built-in to how function return values operate in JS.12:04
smohamudAny questions so far?12:04
thomasboimah-1 from me12:05
smohamudTo be clear --- the Return statement *does not* contain an expression.12:05
smohamudAnother question, is a function call, like functionDeclaration() on line 80 an expression?12:06
smohamudAnyone?12:08
dcammueline 80 is just a function call in the console.log12:09
thomasboimahsure dcammue a  function declaration 12:10
smohamudThank you. Now, does the function call produce a value?12:10
dcammueand along with a text expressing what the output is about12:11
thomasboimahyes12:11
smohamudOk, so is it a statement or an expression in JS terms?12:11
thomasboimahstatement12:11
smohamuddcammue - yes it has all that too, but I'm asking you to imagine it was not attached to the log. Just a lone function call.12:12
smohamudThomas, thanks for your answer. Can you explain why you think it's a statement?12:12
smohamudWe're talking about the call functionDeclaration()12:12
smohamuddcammue, are you following?12:13
smohamudJanet -- how are you doing?12:13
jkolliePretty well smohamud 12:13
smohamudGood. Do you think the call - functionDeclaration - is a statement or an expression?12:14
smohamudfunctionDeclaration()*12:14
smohamudDcammue, we lost you in Live Share.12:15
thomasboimahI think the confusion is that the action of calling a function feels like a statement because it 'does something.' But in JavaScript, what matters for expressions is that they produce a value and function calls do exactly that.12:15
smohamudYes, it's an edge case where it's both an expression and statement. It's performing an action and also yields a value. 12:17
dcammue_sorry i dropped off12:18
smohamudThe last thing is a good rule of thumb: if you can assign it to a variable, it's an expression. 12:18
dcammue has quit (Ping timeout: 480 seconds)12:19
smohamudVariable assignments require a value. 12:19
smohamudIn JS, can't do  x = if(10>2){console.log("10 is greater than 3")}12:19
smohamudbut you can do x = functionDeclaration() and that will not error out because it yields a value, undefined.12:20
smohamudFinally, when debugging, you will come across "invalid expresion" or "invalid assignment" and that will point you to somewhere that's expecting a valid expression that produces a value vs. something else.12:20
smohamudOk, we're out of time. We will cover bindings next time.12:21
smohamudDoes anyone have any questions before we call it a day?12:21
dcammue_-112:22
smohamudOk, anyone else?12:25
smohamudThomas - are you good to switch gears to FixMyCd in a half hour, 1pm?12:27
thomasboimahsure12:27
smohamudOk, I'll be back shortly.12:27
smohamudGreat job today everyone. Really good to have you join us, Janet. Keep coming back!12:27
dcammueThanks smohamud for the time today12:28
thomasboimahdcammue, check your private chate12:29
thomasboimah*chart12:29
smohamud has quit (Read error: Connection reset by peer)12:29
dcammuecool12:29
dcammuecan we go now?12:30
dcammuethomasboimah, 12:30
thomasboimahdcammue, after my meet with smohamud on Dr. hubbard please12:31
thomasboimah*meeting12:31
thomasboimahProject12:31
dcammueokay12:31
freena_ has quit (Quit: Connection closed for inactivity)13:11
thomasboimah has quit (Quit: Leaving)14:07
smohamud has quit (Read error: Connection reset by peer)14:07
gabriel_jetro has quit (Quit: Connection closed for inactivity)14:28
jkollie has quit (Quit: Connection closed for inactivity)14:51
dcammue has quit (Ping timeout: 480 seconds)19:33
resl has quit (Quit: resl)20:24
dcammue_ has quit (Remote host closed the connection)21:48

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!