Here is a tutorial showing some client-side basics in HTML and Javascript that can verify your calculation of the roots of a quadratic equation. The inspiration for this came from the tutorial here.
Sometimes a graphical representation of the Quadratic Equation can help visualize the situation, so for this we call on a previous tutorial PHP/Javascript/HTML Google Parabola Line Chart Tutorial.
This HTML/Javascript solution uses an HTML form to collect information, and it is a lot like Javascript form validation to do the mathematics, so the previous tutorial Javascript Form Validation Primer Tutorial has many similarities in its coding structure to today’s tutorial.
Link to some downloadable HTML programming code … rename to quadratic_something_missing.html
Hope you get some ideas from today’s tutorial.
If this was interesting you may be interested in this too.