Validation does not work for a sign up form however there are no errors in my code?

Viewed 29

I wanted to get better a js code so I decided to make a submit form using HTML ans js code respectively.I made thr form and validations but when I run it the validation don't work and instead send me to the results.html page which outputs everything the user used to sign up.enter image description here

I tried taking code out from the js file but that didn't work then I took code from the HTML file but still nothing. I am a beginner so how would I problem solve this? Should I start from scratch? Thank you again.

0 Answers
Related