Can someone help with how to write the submit button?

Am building my survey form and am stalk in the submit button

<input id="submit" type="submit"> </input> code here

That is how i wrote the code

Hello and welcome to the freeCodeCamp community~!

It is best to share a link to your project so we can see the full thing. Based on just the code you’ve shared, I’d suggest removing the closing </input> tag as input elements are self-closing. :slight_smile:

I still cant pass it after removing the closing tag. That is the link to the project.

image

You have two elements with id="submit". The test is reading the first one (textarea) and erroring out.

In general, every id on your page should be unique. :slight_smile:

Thanks for the help . Have learnt a lesson.