Ask coding questions

← Back to all posts
What does 'not found' mean
[deleted]

Whenever I try to submit a form, (the action is a function) the screen changes and say 'not found' what does this mean?

Comments
hotnewtop
LORENZOGOTTOLI (0)

perche cazzo il mio sito non va?

timmy_i_chen (1151)

Form actions aren't JS; they should point to a route that will handle the data:
https://www.w3schools.com/tags/att_form_action.asp

If you want something to happen when they submit, you'll probably want to use onSubmit instead: https://www.w3schools.com/tags/ev_onsubmit.asp

You should join our Repl.it slack to ask these questions, lots of helpful peeps there :) https://discord.gg/346Tapr

[deleted]