Hello Dev.to community! I'm thrilled to share that I've embarked on a 21-day challenge to master JavaScript, guided by the incredible Hitesh Choudharyโs "Chai Aur Code" on YouTube. Today marks the first day of this journey, and Iโm excited to dive into the fundamentals of JavaScript.
Hereโs what I covered on Day 1:
- let, var, and const Keywords:
I explored the nuances of these variable declaration keywords. var has function scope, while let and const have block scope. const is used for constants that wonโt change, whereas let is for variables that can be reassigned. Understanding their differences is crucial for writing clean and efficient code.
- Data Types in JavaScript:
I learned about JavaScriptโs data types, divided into primitive types (such as string, number, boolean, null, undefined, symbol, and bigint) and non-primitive types (objects and arrays). I also delved into type conversion, including how JavaScript handles implicit and explicit conversions.
- In-Depth with Strings, Numbers, and Math Functions:
I ran various examples to understand string manipulation, number operations, and mathematical functions in JavaScript. These functions are essential for handling data and performing calculations effectively.
- Date and Time Methods:
I explored JavaScriptโs Date object and its methods to manage and format dates and times. This knowledge is crucial for tasks involving timestamps, scheduling, and time-based calculations.
Iโm documenting my learning journey and code on GitHub. Feel free to check out my repo for updates and progress:
๐ https://github.com/Rohit-1301/21-day-Javascript
Additionally, Iโll be sharing insights and reflections on LinkedIn, where you can follow my progress:
๐ www.linkedin.com/in/rohit-gupta-687b9829a
Stay tuned for more updates as I continue this challenge. Your support and feedback are greatly appreciated!
Top comments (0)