ProjectOneTeamFour / date-concierge

This is a joint repository for our group members to host our project.
MIT License
2 stars 2 forks source link

[optimization] find out areas where you could reduce redundancy in your code #31

Open eapostol opened 3 years ago

eapostol commented 3 years ago

It's a best practice to attempt to conform to the principles of DRY (Don't Repeat Yourself). This will simplify your code and improve the performance of your code. For example the following code in dateresults.js performs a similar task (creating a div with similar classes). How would your team address this issue?

Screen Shot 2021-02-16 at 11 00 28 PM