Problem with Project "Build a survey form"

Problem with Project "Build a survey form"
0
#1

Hello,

I pass all thee teste except the last one:

" 16. Inside the form element, I am presented with a button with id=“submit” to submit all my inputs."

However my code is

<button type="button" class="btn btn-primary" id="submit" >Submit </button>

What’s wrong please?

My codepen:

0 Likes

#2

Hey there. button type=“button” just creates a simple clickable button. Here you need a button that submits data, in which case you’ll need a button type=“submit”. Try that and see if it works.

0 Likes