<button type=submit> submit </button>

submit
this thing is not working. help

You need to put quotes around submit so type=“submit”

This is just what I think it is from what i can see. Let me know how it goes/

You need to wrap the type value inside double quotes…


<button type="submit">submit</button>

You might also consider that 'type=“submit” ’ may not be right for your project. Form submission is best for webapps that have a back-end that collects information, so if you’re working on a front-end project, you probably don’t want to try to ingest data yet.

If what you’re trying to do is trigger a function on the click of a button, you may try the following:

<button onclick=function()> Name </button>

Then, you define the function you like as a script.

thanks… i wrote the code at the bottom and that was the reason.

thanks… i wrote the code at the bottom and that was the reason