<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>
<button type=“Submit”</button>
Your browser information:
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/78.0.3904.84 Mobile/15E148 Safari/605.1.
To be honest guys I still don’t your explanations could you please expatiate on how i could nest the button inside and how i can have the attributes typset to submit
Again, your button needs to be inside the form element, i.e. within the start <form> and end </form> tags. Just like you have the input element inside the form.
<form action="https://freecatphotoapp.com/submit-cat-photo">
<!-- inside the form -->
</form>
<!-- outside the form -->
As an aside, this is not the first time nesting has been introduced.
Take your time with the lessons, no rush. Read the lessons throughly and read any failing message to understand what the issue is.