Hey guys!
Just finished ‘Build a Library’ project.
I wanted to do the last task (no. 25) as well so I did! (It wasn’t easy)
But I hope you enjoy, if you have feedbacks I’m more than happy to hear them!
Note:
- In ‘CD’ class, I changed
songs
totracks
, and createdsongTitles
(for more detailed content).
-
I added a
addSongTitles
function, and if the number of songs you inserted in a CD instance is higher than the actual number of song title inserted, thesongTitle
getter will show the difference as ‘unknown title songs’.JavaScript ‘Classes’ Project << Check it out!
Happy coding!