Open jacklynlee31 opened 9 years ago
array.forEach
{{#each}}{{/each}}
classList
app.js
PR: https://github.com/jacklynlee31/4.1-beer/pull/1
GH: http://jacklynlee31.github.io/4.1-beer/
@rtablada The list & grid modes are both done.
Deliverables
Requirements
array.forEach
to iterate over the array of beer items rather than Handlebars{{#each}}{{/each}}
loopsclassList
to switch between list mode and grid modeapp.js
should not pollute the global scope (think self invoking anonymous functions)