Comparison with the Inequality Operator
In this mini challenge I have to add the inequality operator "!=" in the "if" statement so that the function will return the string "Not Equal" when "Val" is not equivalent to 99.
#javascript#freeCodeCamp#frontenddev#basicJavaScript
Day 12 of #100DaysOfCode -
function basicJavaScript(val) {
switch(val) {
case “Day 12”:
answer = “Tired.”;
break;
default:
answer = “Tired too😂”;
break;
}
}
basicJavaScript(“Day 12”);
#freeCodeCamp . 30% left. Now I can begin my Sunday)))
Day 2️⃣1️⃣ of #100DaysOfCode
Incredible. 3 weeks into this challenge already. Time flies. Working hard on Basic Javascript from @freeCodeCamp, and I think I'm starting to get it. This is incredibly fun, and I can't wait to learn even more. 🥳
#Code#BasicJavascript#freeCodeCamp
Day 011 of #100DaysOfCode#BasicJavaScript: Returning Boolean Values from Functions
Strength does not come from physical capacity. It comes from an indomitable will
6 sets of Suryanamaskar (yoga) ✅
Dance workout ✅
#100DaysOfCode Day 13
3 hours of pomofocus ✅
BasicJavascript @freeCodeCamp✅
Increase your coding hours day by day. Never lose your streak. Happy learning ya'll :)
#100DaysOfCode#basicjavascript#wesbos
Day 16: Feeling better today and worked started on the Event Listener modules. This looks like where all the fun begins with JS.
Key takeaway:
Event Listener = go get something => listen to something => do something
#100DaysOfCode#basicjavascript#wesbos
Day 15 (Yesterday): Finished up the whole DOM module - went through the CARDIO part and definitely got a bit sweaty towards the end with using event listeners to remove the cards. Bit sick today so going to rest up and come back tomorrow
#100DaysOfCode#basicjavascript#wesbos
Day 14: Nearly finished the DOM module! Working on the CARDIO part and very happy to see everything working (so far!) Already looking at how to refactor it and make it look cleaner but let's get it working first.
#100DaysofCode#basicjavascript#wesbos
Day 13: Worked on HTML from String and XSS. Really enjoyed the string interpolation part - makes code look very clean and readable and getting more comfortable of working in the DOM.
Worked with -
.createRange
.createContextualFragment
#100DaysOfCode#wesbos#basicjavascript
Day 11: Continued work on the DOM - briefly went through addEventListener and Data attributes. I'm going to have a lot of fun with addEventListener...