Alrighty! My second week in a nutshell: I went home and cried twice, LOL. Learning how to code is hard as is, but learning how to learn is even harder. Who knew that learning would bring something called "imposter syndrome" to your mind.
This week we learned about
Loops and all the stuff around and in between (bracket notation, logical operators, utility functions. We started off easy. I made an array called
makeup 💄 that had
'lipstick', 'eyeliner', 'blush', 'mascara'. That was cute and I thought, Wow! Now I understand arrays, until we were introduced to the ability to add to
Honestly it's simple. You can use Array.push(). But what threw me off was the logic behind getting to the point where you push to the
Array. There's all sorts of steps to complete before it just magically appears in that array. You have to
getElementById and listen for a
'submit'. Then you have to preventDefault. Next, you have to create an empty object for the user's input all while also making sure (in my case) that the property values don't repeat in the array. Phew, as I type this I feel proud that I'm understanding how it all connects because all week I was super confused.
I have to give a shout out to my instructor and classmates. I know my classmates are also learning, but with the knowledge they have, they use it to help me understand what the heck I'm doing 🤡. My instructor is also super smart and picks up on the keywords in my horribly constructed questions to help answer those questions.
With that, I'm out. 💚