In: Computer Science
For this exercise, consider the situation of developing the “New Appointment” page for a calendar app. In this scenario you are tasked with just the HTML — web designers will style the page with CSS, and the back-end developers will write the logic that connects it to the database. You will be graded on your ability to use HTML correctly, not on your artistic or creative ability. Feel free to make any creative modifications to the page, as long as each of the HTML elements is present and used correctly. When you submit your assignment, include the following: 1. A single HTML5 file called appointment.html 2. A screenshot of your page with all elements in place 3. A screenshot showing that your page has successfully validated The screenshots can be submitted as individual JPG/PNG/GIF files or pasted into a Word file. Design Specification The exercise consists of a single HTML file called appointment.html, containing the following: ❏ Aelement containing the following: ❏ Aelement, titling the page “New Appointment” ❏ At least two tags — one with your name, and one with your CWID. ❏ A pagecontaining the following elements. ❏ A page
. Theshould contain the following: ❏ The page’s title, “New Appointment”, within an appropriate heading tag (e.g.
). Page 1 of 4 ❏ A
element containing an unordered list (
containing a copyright notice (using the © special character) and any other information you feel is appropriate. Be sure to use proper HTML5 form input types, as discussed in section 3.2 of your textbook. All inputs should be named and labeled appropriately. Be sure to validate your page using one of the HTML validators listed in chapter 1 of the textbook, such as https://validator.w3.org. (Note that you might see several warnings along the Page 2 of 4 lines of “the [such-and-such] input type is not supported by all browsers.” The assignment is about using HTML5 inputs, not cross-browser compatibility, so you can ignore these warnings, but all errors and all other warnings must be corrected.
Note: Please do not forget to update the HTML code with your name and CWID.
Please find all the required documents as below:
appointment.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>New Appointment</title>
<meta charset="UTF-8">
<meta name="author" content="Name">
<meta name="description" content="CWID">
</head>
<body>
<ul>
<li><a href="#">My Account</a></li>
<li><a href="#">My Calendar</a></li>
<li><a href="#">My TODO List</a></li>
<li><a href="#">Today’s
Schedule</a></li>
</ul>
<form action="/" method="post" target="_blank">
<label for="title">
Title:
<input placeholder="Appointment Title" id="title"
type="text" name="appointment-title">
</label><br/><br/>
<label for="location">
Location:
<input placeholder="Appointment Location"
id="location" type="text" name="appointment-location">
</label><br/><br/>
<label for="start-date-time">
Start Date and Time:
<input id="start-date-time" type="datetime-local"
name="appointment-start-date-time">
</label><br/><br/>
<label for="end-date-time">
End Date and Time:
<input id="end-date-time" type="datetime-local"
name="appointment-end-date-time">
</label><br/><br/>
<label for="color-coding">
Color Code:
<input id="color-coding" type="color"
name="appointment-color-code">
</label><br/><br/>
<label for="description">
Description:
<textarea placeholder="Appointment Description"
id="description" name="appointment-description" rows="10"
cols="30"></textarea>
</label><br/><br/>
Privacy:
<input type="radio" id="privacy-public"
name="appointment-privacy" value="public" checked> Public
<input type="radio" id="privacy-shared"
name="appointment-privacy" value="shared"> Shared
<input type="radio" id="privacy-private"
name="appointment-privacy" value="private"> Private
<br/><br/>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<footer>© Copyright 2019</footer>
</body>
</html>
HTML Page Output:
Screenshot of the code validation: