This content originally appeared on DEV Community and was authored by Rohit-1301
Hello everyone!
I'm thrilled to share my progress on day 3 of my 21-day JavaScript learning challenge. Today, I delved into some fundamental and crucial concepts in JavaScript: conditional flow and functions.
Conditional Flow in JavaScript
Understanding how to control the flow of a program is essential, and today, I focused on the conditional flow in JavaScript. I learned about:
If-Else Statements: These are used to execute different blocks of code based on certain conditions.
Else-If Ladder: This is useful when there are multiple conditions to check. It's a chain of if-else statements, allowing more complex decision-making processes.
Functions in JavaScript
Functions are the building blocks of any programming language. I explored them in-depth, covering:
Normal Functions: Traditional ways of defining reusable blocks of code.
Arrow Functions: A newer, concise syntax introduced in ES6 that makes function expressions more readable and manageable.
I also learned how to call these functions and pass parameters to them. This included using various types of data, such as:
Variables: Passing simple data values.
Objects: Providing structured data.
Arrays: Handling lists of values.
The this Keyword
Another critical concept I tackled today was the this keyword in JavaScript. Understanding the context of this is vital for mastering object-oriented programming in JavaScript. It can refer to different things depending on how and where it is used, which can be quite powerful once you get the hang of it.
Documenting My Journey
I have documented all my code and examples on my GitHub repository. Feel free to check it out and follow along with my progress:
GitHub Repository:-https://github.com/Rohit-1301/21-day-Javascript/tree/main/Day%203%20of%20Javascript
I am learning JavaScript from one of the best tutors on YouTube, Hitesh Choudhary, through his channel "ChaiAurCode". His explanations are clear and easy to follow, making the learning process enjoyable and effective.
Connect with Me
I would love to connect with fellow learners and professionals. Follow me on LinkedIn to stay updated on my journey and share insights:
LinkedIn Profile:-www.linkedin.com/in/rohit-gupta-687b9829a
JavaScript #CodingChallenge #WebDevelopment #LearnToCode #CodeNewbie #ChaiAurCode #HiteshChoudhary
Thank you for following my journey. Stay tuned for more updates as I continue to dive deeper into JavaScript!
This content originally appeared on DEV Community and was authored by Rohit-1301
Rohit-1301 | Sciencx (2024-07-28T18:09:38+00:00) Day 3 of My 21-Day JavaScript Learning Challenge. Retrieved from https://www.scien.cx/2024/07/28/day-3-of-my-21-day-javascript-learning-challenge/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.