100 Days of Code Challenge Day 14

Today I took my troubleshooting to CodePen. I found the change event on the Mozilla Developer Network. I added the onchange on each option, but the variable for the bill isn’t being assigned. It’s the getElementById wasn’t¬†working. I added an alert to see where the function was failing. I left the quotes off the Id. ¬†That’s fix and the alert finally fired and the bill is now making it down to the alert. Next up. figure out why the value from the onclick isn’t making it to the alert.

Time for bed.
#100DaysOfCode
#CodeNewbie

Advertisements