Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
form
element.
For example:
<form action="/url-where-you-want-to-submit-form-data"></form>
form
element and assign `"https://freecatphotoapp.com/submit-cat-photo"` to the action
attribute of the form
element.
input
element should be nested within a form
element.
testString: const inputElem = document.querySelector('form input'); assert(inputElem.getAttribute('type') === 'text' && inputElem.getAttribute('placeholder') === 'cat photo URL');
- text: Your form
should have an action
attribute which is set to https://freecatphotoapp.com/submit-cat-photo
testString: assert($("form").attr("action") === "https://freecatphotoapp.com/submit-cat-photo");
- text: Your form
element should have well-formed open and close tags.
testString: assert(code.match(/<\/form>/g) && code.match(/Click here to view more cat photos.
Things cats love:
Top 3 things cats hate:
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: