Mr-MikeRoss / Color-Racer

MIT License
0 stars 0 forks source link

Form opens on page start and saves names to cache on submit #13

Closed jake-magri closed 3 weeks ago

jake-magri commented 3 weeks ago

formResponse function now stores an array of player objects (player 1 and player 2) with name properties to cache. Objects for scalability in case we'd like to add more player data later.

Bootstrap modal form now presents to user on window load. Added error handling to ensure modal removal on submit.

https://getbootstrap.com/docs/5.3/components/buttons/#methods https://getbootstrap.com/docs/5.3/getting-started/javascript/#css-selectors-in-constructors

parsamh8 commented 3 weeks ago

reviewed

jake-magri commented 3 weeks ago

I think this was closed and not approved. Not sure if that was intended