Function doesn't validate form

So I’m trying to do a project for quiz building and I have a form that will take questions from the user with 2 options or more and an answer that points to one of the options, I’m trying to validate and generally process the questions but the function doesn’t seem to even be called. any help?
link to project

you need to import the js file in your html, otherwise there is no way those two can interact