Hello everyone, so im new (third day) and ive already hit a wall , can anyone steer me in the right direction?
<input type="text" ><form action = "submit-cat-photos"/>
</form>
</main>
this is for the challenge to create a form element, however, im doing somthing wrong, ive spent over an hour trying to figure it out...
Before your worry about that, you should inspect your code carefully and ask yourself if you’ve made a form element correctly. Right now, you have an extra form tag lying around.
I have been looking at the form element over and ove,r whenever i have removed anything dealing with the word form it tells me its isnt nested properly or it doesnt have proper opening and closing tags
<input type="text"><form action ="submit-cat-photos"/>
</form>
there are three things im being tested on two of them is nesting the input text and opening and closing a form tag , the challenge is telling me im good with those.. the thing im not passing is the form action attribute setting
I might be contributing to that, but you need to make sure that your syntax is correct first.
The code snippet you gave me was not good. So I needed you to fix that first. Remember that most html elements have a start and an end. You showed me 2 starts and 1 end.
Figuring out which start and end you want, you need to make sure your input element is nested/inside of the element.