I’m making a quiz. I’m wondering whether in my “check me” function I should say “if it’s right, do this function” or if I shoudl put everything to do if it’s right into that function.
I’m leaning towards making lots of functions because it would be easier to follow and make changes in exactly where I want to make changes for similar quizzes… but are there downsides?
https://codepen.io/geonz/pen/jOOwzmw is the pen…