Tell us what’s happening:
platforms.forEach((platform => {
platform.draw()
}))
Looks good to me but doesn’t work
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
platforms.forEach((platform => {
platform.draw()
}))
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Challenge Information:
Learn Intermediate OOP by Building a Platformer Game - Step 77