Day 3 of JavaScript: Where Three Days Can Break Your Brain
Source: Dev.to
Day 3 of JavaScript – Where Three Days Can Break Your Brain
Hey y’all!
We gave up on the “finish in a month” plan because it’s impossible to happen. Honestly, this time I’m not just tired—I’m literally depressed. Funny thing? Just the third day of learning JS is enough to get me like this 😂
Topics Covered
JSON.stringify(),JSON.parse()deleteSingleItem()setUpdate(),Update().classList.add(),.classList.remove()deleteAll()- Updating a single item even if I set a count
this.id,idcall- Scroll handling
- Search by mood: update or create,
getSearch()by category or by title - DOM intro
- Logical operators:
&&(and),||(or)
That’s it! The info was fun and I got it pretty well. I practiced a lot, but got exhausted from all the overlapping info and code. Forgetting things didn’t help either—it was the main reason it felt so hard.
Challenges
The update function was the biggest headache ever. I spent hours fixing one error and then a new one appeared. Some problems still have literally no reason, but that’s normal when learning. The scary part is thinking that if I forget all this, my brain wouldn’t survive 😂😂
Reflection
So yeah, I’ve finally studied CRUDs completely!!!! 🎉
Tomorrow I’ll review the code, write notes on the errors and their fixes. I’m also planning to study a bit lighter because I’m totally burnt out from coding. Today’s study barely counts—info is simple for most, but it drained me physically and mentally.
Hopefully I’ll post again tomorrow.
Hope you all have a great day. Bye!