Using Javascript, HTML, CSS: 1. In `index.html` we need a Form that uses POST to submit its
Question:
Using Javascript, HTML, CSS:
1. In `index.html` we need a Form that uses POST to submit its data to the URL `/s`. The form should have the following controls:
a. Username, which should be an email address and should get the focus when the page loads
b. Search Query, which should hold the search terms the user wants to perform
c. Resource Type, which should be: book, ebook, or video. Don't allow the user to enter anything else.
d. Is Available, which should be true/false, indicating that only available resources should be returned
e. Submit button
2. Choose the most appropriate type of input control for each of the above.
3. We need labels for each of the input controls above.
4. We need all necessary input attributes for the controls above. Some attributes to consider: id, name, minlength, maxlength, pattern, placeholder, required, size, tabindex. NOTE: not all attributes are required for every control, so pick only what is needed.
5. We need CSS to style the form and input controls so that they are easy to see and use. We could have our own styles in `styles.css` or use a CSS framework like Bootstrap. Form must look professional so that users will trust it.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill