Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTyson Dover
3,862 Pointssubmit 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
231,248 PointsYou 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.
Tyson Dover
3,862 PointsTyson Dover
3,862 PointsThat was it, thanks again Steven and I will remember the difference between Java and Javascript. Cheers!