submit button added (#34233)

submit button added to the form
This commit is contained in:
Anas Salam
2018-11-06 21:44:23 +05:00
committed by Paul Gamble
parent 5a1ecb4f09
commit 4ea0953446

View File

@ -75,7 +75,34 @@ tests:
## Solution
<section id='solution'>
<div id='html-seed'>
```js
// solution required
<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="/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
<button type="submit">Submit</button>
</form>
</main>
```
</div>
</section>