Why isn't my code working

For context I am making a website that allows you to put your timetable into it via typing them and submitting them.

HTML: Imgur: The magic of the Internet

Java: Imgur: The magic of the Internet

So basically it’s not working. The program won’t put y=the input in the box. And I have no idea what’s going wrong.

Could you send the URL of the Glitch project?

you aren’t linking your javascript file properly. currently, it’s

    <script>src="script2"</script>

but it should be

    <script src="script2"></script>

the URL is school-planner.glitch.me, you can see it on the screenshots

1 Like

Shouldn’t there also be a .js at the end?

Yes. There should. Corrected that

1 Like

That did it! Thank you!

1 Like