semicolons all over the place
html errors

You had several html elements using the same id, which isn't allowed.
Also, the solution buttons were calling the newProblem() fuction.  It
looks like the doSomething() function is supposed to display the
solution but I recommend you make new functions for each solution, so I
put some made up function names in there.