For that, you need to reset your code. It is because you deleted the existing input element. After resetting the code, add an opening <form> tag before the input element and add a closing </form> tag after the input element. This will solve the nesting problem.
If you don’t know what nesting is, check this link:
thanks mr parker. i am also a big fan of spider-man… i tried to figure it out but i’m bit confuse at moment but i will sort it out later, but i still need helps i love coding.
i understand it was just a joke sorry. nice to meet you paulson your a nice person. okay spider-man. yeah lol! the nesting of my form element, and the form should have an action attribute which is set to https ://freecatphotoapp.com/submit-cat-photo. the last one i did for myself is correct but these ones are holding me back!
What that challenge says is that you should add a form element to your code, set it’s action attribute to https://freecatphotoapp.com/submit-cat-photo. Then, you need to nest the existing input element inside the form element.
Here is the code that will help you:
<form action="https://freecatphotoapp.com/submit-cat-photo">
<!-- This is the existing input element --> <input type="text" placeholder="cat photo URL">
</form>
In the above example, the input element is nested inside the form element because the input element is inside the form element’s opening and closing tag. I hope you understand nesting.