austintackaberry / ydkjs-exercises

Exercises to go along with You Don't Know JavaScript
MIT License
253 stars 74 forks source link

App breaks when user clicks on chapter that doesn't have any questions #33

Closed austintackaberry closed 6 years ago

austintackaberry commented 6 years ago

Instead of silently breaking and showing a cryptic error message in the console, we should display some sort of message telling the user something like:

"There are currently no questions for this chapter :(, but you can change that! Feel free to submit a pull request to this project here: https://github.com/austintackaberry/ydkjs-exercises"

kevinYCKim33 commented 6 years ago

I'll try my hand at this.

austintackaberry commented 6 years ago

Sounds good! :+1:

kevinYCKim33 commented 6 years ago

https://github.com/austintackaberry/ydkjs-exercises/pull/37