I don't think the instructions currently make very clear for a beginner why they're told to do this project (and the next ones too, I'd say) in a certain way, while there's certainly "easier" ways to do it. I've seen some people in the Discord community sharing of that sentiment (myself included, when I first did that project). The result is that even at the to-do list project, it's not uncommon to see some codes where people continue to mix their display logic with their main code. The purpose of this PR is to try to make this vision more clear for this and the other projects to come.
This PR
Adds a note to one of the project's assignment items explaining why it's important to store the books' data in an array instead of immediately displaying them on the DOM and manipulating them there.
Because
I don't think the instructions currently make very clear for a beginner why they're told to do this project (and the next ones too, I'd say) in a certain way, while there's certainly "easier" ways to do it. I've seen some people in the Discord community sharing of that sentiment (myself included, when I first did that project). The result is that even at the to-do list project, it's not uncommon to see some codes where people continue to mix their display logic with their main code. The purpose of this PR is to try to make this vision more clear for this and the other projects to come.
This PR
Issue
Closes #XXXXX
Additional Information
Pull Request Requirements
location of change: brief description of change
format, e.g.Intro to HTML and CSS lesson: Fix link text
Because
section summarizes the reason for this PRThis PR
section has a bullet point list describing the changes in this PRIssue
section