JavaScript Treehouse Club - MASH MASH - JavaScript Handle Submission and Event Handler Functions

submit button is not working in Java mash course

I am following along with joy on java but when she hits submit on her webpage it shows what her future is. When I try it one mine the page just refreshes but does not show the same image as when joy hits submit. What am I doing wrong? TIA Cheers!

1 Answer

Steven Parker
Steven Parker
203,207 Points

You have not specified the source of the JavaScript code.

<script src=""></script>

You have a script tag, but you left the src attribute empty.

Also remember that "Java" and "JavaScript" are two different languages. There's no "Java" in this course.

That was it, thanks again Steven and I will remember the difference between Java and Javascript. Cheers!