Hey everyone π
Itβs Day 2 of my JavaScript learning journey!
Hereβs what I learned and practiced today:
β Basics:
-
console.log()β logging values and debugging in the browser console - Linking an external
.jsfile to your HTML
π§ Core Concepts:
- Template Literals:
${variable}syntax inside backticks - Comparison Operators:
==,===,!=,>,<,>=,<= - Comparisons for non-numbers:
"5" == 5vs"5" === 5
π Logic Building:
- Logical Operators:
&&,||,! - Conditional Statements:
if,else if,else - Truthy and Falsy values: understanding how JavaScript evaluates conditions
π¬ Browser Interaction:
-
alert()β show message popups -
prompt()β take user input
Iβm learning and building in public β follow along as I continue this journey!
Hereβs my Linktree to stay connected across platforms.
Happy coding! π»π₯
Top comments (0)