Hi everyone, welcome to the first article about my experiences, lessons, projects, and challenges from this week. This blog is divided into six sections, so you can focus on the parts that interest you:
Things learnt this week.
Steps I followed.
Problems encountered.
How I solved those problems.
Projects made this week.
Resources used.
THINGS LEARNT THIS WEEK:-
I began with an introduction to JavaScript, covering topics like how it got its name, the difference between Java and JavaScript, and the distinction between compiled and interpreted languages. After that, I learned the basics of the language, including:
Comments
Declarations
Scope of Variables
Different String Operations
Math Functions
Arrays and Operations on Arrays
Conditional Statements
Loops
Functions
STEPS I FOLLOWED:-
I started by watching tutorials on Udemy and YouTube, then switched to MDN documentation because it's important to read the material as well. I would watch tutorials, code alongside them, and take notes while learning from the MDN documentation. I found that instead of studying everything at once, taking breaks when I felt tired helped boost my learning. Sometimes, I sped up the tutorials because, as an experienced C++ programmer, it was easier to understand basics. This is also why I learned so much in the first week.
PROBLEMS ENCOUNTERED:-
Reading Documentation: Reading documentation was tiring, especially at first. I still struggle with it due to low retention and the boring content, which makes it even harder.
Getting Confused with Syntax: Switching from one language to another can be confusing, and since JavaScript is case-sensitive, I initially made errors.
IDE*:* Since the tutorial used Chrome Developer Tools, it was a bit challenging to get used to using the console and snippets.
Can I Put These Codes on GitHub?*:* This seemed like a simple question, but I was quite confused about whether to upload the codes to GitHub.
Analyzing Logical Errors*:* It's frustrating when the code compiles successfully, but you still don't get the desired output.
HOW I SOLVED THOSE PROBLEMS:-
Reading Documentation: I set my phone aside and started by reading for 15 minutes, gradually increasing the time spent in each session.
Getting Confused with Syntax: Practicing repeatedly helped me become comfortable with the syntax and confident in JavaScript.
IDE: Once I saved some files on my drive, I gradually became comfortable with using snippets and the console.
Can I Put These Codes on GitHub? I searched online and on YouTube and found the answer: Yes, you can.
Analyzing Logical Errors: I got stuck on an array question, but dry running the cases in my head helped me solve them.
PROJECTS MADE THIS WEEK:-
You can find all the source codes on my GitHub profile, "JanwinAditya."
Teacher Feedback Tweet: Similar to old-school Twitter, it takes your review and shortens it to 140 characters.
Commitment Predictor: See if you'll stay committed this year. It calculates your chances and gives you the result.
Leap-Year Calculator: It checks if a given year is a leap year using nested if-else statements.
Fibonacci Series Calculator: It shows the Fibonacci series up to the nth term entered by the user.
RESOURCES USED:-
UDEMY
YOUTUBE
MDN JAVASCRIPT DOCUMENTATION
STACK OVERFLOW