Day 258/365
Made some solid progress on the Library project today. I thought I needed a refresher on forms, but it turned out to be pretty straightforward.
Users can now enter a book title, author, and page count, and the information is displayed as a card. The next step is allowing multiple cards to be added dynamically to the page.
I’m getting really close to finishing this part. I’ll keep working on it and share a more polished version soon.
#WebDevelopment #JavaScript #TheOdinProject #LearningInPublic
The week's been going pretty well so far. Some days are slower than others, but I'm happy with my progress and learning curve.
There's something satisfying about going to bed knowing you've learned something new during the day.
It's 6:00 AM, and it's time to get back to work.
#WebDevelopment #TheOdinProject #JavaScript #LearningInPublic
Day 257/365
Today, I started working on the Library project from #TheOdinProject. Everything is going well so far, but I need to review form elements to properly allow users to enter a book's title, author, and number of pages, and then use that data to populate the book card.
This project is going to be interesting because it will allow me to practice everything I've learned so far.
#WebDevelopment #JavaScript #LearningInProgress
Today is the third day of the week, and I’ve made some solid progress so far. Some days are more productive than others, but the key is to keep moving forward. Let’s keep the momentum going and continue learning.
#WebDevelopment#TheOdinProject#JavaScript#LearningInPublic
Day 255/365
Object.keys() and Object.values() only return an object’s own enumerable properties. In contrast, the for...in loop walks up the prototype chain and lists both the object’s own enumerable properties and the enumerable properties it inherits.
Methods from Object.prototype (like hasOwnProperty) don’t appear because they’re marked as non-enumerable, so JavaScript skips them during enumeration.
#WebDevelopment #JavaScript #TheOdinProject #LearningInPublic
Day 251/365
There is something I found really interesting on Prototypal inheritance... Instances store the actual data, while the prototype stores the shared behavior.
#WebDevelopment#JavaScript#TheOdinProject
A little more sleep than usual today, but that’s okay. It’ll be a light day... reviewing everything I’ve learned this week and preparing for the week ahead.
Hope everyone has a great Sunday!
#WebDevelopment#JavaScript#TheOdinProject#LearningInPublic
Day 254/365
A getter/setter can be inherited from a prototype, but this refers to the object that is actually accessing the property, not the object where the getter/setter was defined.
#WebDevelopment#TheOdinProject#JavaScript#LearningInPublic
Day 253/365
My schedule didn’t leave me much time to study today, but I still got some #JavaScript practice in.
I spent time playing around with objects, adding properties and methods to them, extending their prototypes, creating constructors and instances, and reviewing how the this keyword behaves in different contexts. Not a huge study session, but it is still progress. Tomorrow is another day!
#WebDevelopment #LearningInPublic #TheOdinProject
Day 252/365
There’s a subtle but important difference between Object.setPrototypeOf() and .call() in #JavaScript.
They both relate to object reuse, but they work in completely different ways.
#WebDevelopment#LearningInProgress#TheOdinProject
Day 252/365
In #JavaScript, using methods like toString() on an object can lead to completely different results. Basically it depends entirely on which prototype provides the method behind the scenes.
#WebDevelopment#LearningInPublic#TheOdinProject
The world belongs to those who wake up early. For a long time, I struggled to wake up at 7, even with an alarm, but now I wake up at 5 without any difficulty… what a progress. Let’s make today count; I’m excited to see what #TheOdinProject has in store for me.
#WebDevelopment #JavaScript #LearningInPublic