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 add the action="/submit-cat-photo"
attribute to the form element.
form
element.
testString: assert($("form") && $("form").children("input") && $("form").children("input").length > 0, 'Nest your text input element within a form
element.');
- text: Make sure your form
has an action
attribute which is set to /submit-cat-photo
testString: assert($("form").attr("action") === "/submit-cat-photo", 'Make sure your form
has an action
attribute which is set to /submit-cat-photo
');
- text: Make sure your form
element has 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: