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
.js
file to your HTML
๐ง Core Concepts:
- Template Literals:
${variable}
syntax inside backticks - Comparison Operators:
==
,===
,!=
,>
,<
,>=
,<=
- Comparisons for non-numbers:
"5" == 5
vs"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)