Created a Magic Wand effect with JSβclick the text and watch it sparkle into gold! Check this out
#WebDev#JavaScriptMagic
Want to try it out?check the comment section for the code
So in the function we made we have called the same function in the return value until the value in the b is not undefined so If you pass an empty argument it will return the value of a which would be having the sum or product .
#learntocode#JavaScriptMagic
π "Struggling to understand JavaScript's quirks? Here's a simple take on Type Coercion π€:
"5" - 2 // Output: 3
"5" 2 // Output: 52
Why?
-converts to numbers, while prefers strings!
#JavaScriptMagic
Save this tweet and never get confused again!
#100DaysOfCode#webdev
Embarking on a React adventure today! π Building sleek UIs, optimizing performance, and solving puzzles with state management. Let's code! #React#CodingJourney#JavaScriptMagic
Day 41: Diving Deep into JavaScript Wizardry! π§
π»I answered some questions about these subjects today and gained knowledge about adding and removing elements from a page, DOM events, and mouse/pointer events in Javascript.
#JavaScriptMagic#buildinpublicπ
Day 40: Diving Deep into JavaScript Wizardry! π§ββοΈ
π»I gained knowledge of additional DOM topics today, including query selectors, object content setting, attribute manipulation, and the classList property.
#JavaScriptMagic#buildinpublicπ
Day 39: Diving Deep into JavaScript Wizardry! π§ββοΈ
π»I began learning about the fundamentals of DOM today, including how to pick elements by ID, class name, and tag name. and answered a few questions about this topic.
#JavaScriptMagic#buildinpublicπ
Day 38: Diving Deep into JavaScript Wizardry! π§ββοΈ
π»I learned about the reduce method, spread, spread (object literals), spread (array literals), and destructing today, among other JavaScript topics.
#JavaScriptMagic#buildinpublicπ
Day 37: Diving Deep into JavaScript Wizardry! π§ββοΈ
π»I studied today the "forEach, "map," "filter," "every," and "sum" methods in Javascript functions and solved several questions related to these topics.
#JavaScriptMagic#buildinpublicπ
π Day 36: Diving Deep into JavaScript Wizardry! π§
Today, I learned about "this," "arrow function," and, lastly, "try and catch."
#JavaScriptMagic#buildinpublic π
π Day 35: Diving Deep into JavaScript Wizardry! π§
I created a function today to count the vowels in a string and responded to a few queries regarding JavaScript functions.
#JavaScriptMagic#buildinpublic π
π Day 34: Diving Deep into JavaScript Wizardry! π§
I studied scope today, including its various forms, such as lexical and block scope. study high-order functions, and finally, learn how to return high-order functions.
#JavaScriptMagic#buildinpublic π
π Day 33: Diving Deep into JavaScript Wizardry! π§
Today I studied about return keywords, functions that take arguments, and a guessing game.
#JavaScriptMagic#buildinpublic π· π
π Day 32: Diving Deep into JavaScript Wizardry! π§ββοΈ
Today I learned about arrays of objects, nested objects, math objects, and adding and modifying values in objects.! π» #JavaScriptMagic#buildinpublic π