DEV Community

Precious Afolabi
Precious Afolabi

Posted on

Week 1 - JavaScript Fundamentals & My First Mini Project

Week 1 is wrapped. I spent the past week working through JavaScript fundamentals - variables, data types, operators, and conditionals. The goal was to build a solid foundation before moving to more complex concepts.

What I Built
Created a simple quiz program in Node.js. It asks 5 JavaScript questions, takes user input, calculates the score, and displays a grade.
Simple concept, but actually building it revealed gaps I didn't know I had.
The trickiest part? Getting user input to work in Node.js. I had to figure out the readline module, which handles things asynchronously.
Coming from basic JavaScript exercises to dealing with async patterns was a bigger jump than expected. Took some googling and trial-and-error, but I got it working.

What I Figured Out
The most useful thing I learned wasn't syntax or methods - it was how to actually start building.
I sat there looking at a blank file thinking "where do I even begin?" The quiz needed questions, input handling, scoring, grade calculation - it felt like too much at once.

Then I just made one question work. That's it. Once that worked, I added another question. Then I figured out scoring. Then the grade display.
Turns out you don't need to see the whole path before you start. Just get one small thing working, then build from there. Sounds obvious when I say it now, but actually doing it was different.

The technical stuff - learning readline, dealing with async code - that was challenging too. But learning to just start with one small piece instead of trying to solve everything at once? That's what made the difference.

The Real Challenge
Consistency. I didn't code every single day like I planned. Some days I went hard for 2-3 hours. Other days, nothing. Life happened, motivation wavered, and I didn't stick to the schedule.

But here's what I'm taking away: when I did show up and code, I made real progress. I built something that works. I understand the concepts. That counts.
Next week I'm setting a specific time slot instead of just "whenever I feel like it." Structure helps.

Resources That Helped

javascript.info - Clear explanations with practical examples

freeCodeCamp - Interactive exercises that reinforced concepts

Good old Google, when I got stuck

Next Week
Focusing on loops and strings. Going to build something that combines both concepts.

If you're learning too, drop a comment. What are you working on? What's challenging you right now?

Connect with me:

GitHub: https://github.com/Precixphantom
LinkedIn: https://www.linkedin.com/in/precious-afolabi-34194138b/

Top comments (1)

Collapse
 
solid profile image
SOLID001

hello....i'm solid. also learning too
i think i've gotten to the part where i need to build something "A grade Calcuator" but then, im also here looking at my pc thinking of the first thing to write
any tips on how to go further?

nice writeup btw