Homework 3: A Website for a Small Event
Submission due Friday, September 20, by 11:59 PM
Instructions
The purpose of this assignment is to give you more practice exploring basic HTML, especially links, tables, and images. You will create a home page for a small event and a second page with additional information. You will again use an HTML validator to help you improve your code.
If you have any questions, or if something doesn't work as expected, please let me know.
Tasks
Set Up
Create a folder named hw03
.
If you have a folder where you keep your CS 1100 work
(strongly recommended!), place hw03
there. If
not, place it wherever you store your work files.
Pick any topic of your choice.
Now imagine you are hosting a convention, camp, or similar
event on this topic. It can be anything! For example:
- a gathering for hobbyists of a particular sort
- a con for a movie genre or franchise you like
- a sporting event
- a gaming tournament
- a graphic design exhibit
- an academic conference in your professional field
... any group event will do. It could even be an entirely imaginary event, say, the Annual Meeting of the Tardis Owners Club of Iowa.
Create the Home Page
-
Use VS Code to create a file inside
hw03
namedindex.html
.
Copy into your new file the standard HTML from the template file we have been using the last two weeks.
(To download that file, control-click on the link and choose one of the "Download Linked File" options.)
Change the title to the name of your event. -
Add the following content to your page in whatever order you
think makes sense:
- the name of the event
- the name of the hosting organization
- the location of the event and how to get there
- the venue: the meeting facility and the lodging
- a short description of the event
- Use HTML elements to mark the structure of the document and its content. The structure includes things like a header, a main section, various sub-sections, and a footer. The content includes things like paragraphs, different levels of heading, text with emphasis, lists, and so on.
-
Add three more items to your page:
-
a table that shows various deadline for applying to
attend, paying the registration fee, reserving a room,
etc. Two data rows are enough for the purposes of this
assignment, plus a header row. Use the
time
attribute on your dates (and times, if there are any). -
an image that illustrates your event. You can search
for open images on Wikipedia, or Google, or your
favorite search engine. Be sure:
- that you have the right to use the image,
- that you credit the creator and source,
- that you define alt text for the image!
images
within yourhw03
folder.
Thesrc
string for the image should use a local reference:src="images/name_of_image.ext"
. -
a
nav
bar at the top of your file with two links:- to this file (link to
index.html
) -
to the program page
(link to
program.html
)
program.html
in the next step. - to this file (link to
-
a table that shows various deadline for applying to
attend, paying the registration fee, reserving a room,
etc. Two data rows are enough for the purposes of this
assignment, plus a header row. Use the
-
Validate your HTML using the W3C validator at
https://validator.w3.org/#validate_by_upload
This link allows you to upload yourindex.html
file by selecting it using a file selector.
Fix any errors, then revalidate the file. (Remember, you'll have to upload the updated file again each time). Repeat until you have no errors or warnings.
Feel free to use more than one image on this page, if you'd
like.
Feel free to use other HTML elements that you have learned in
class, through the readings, or through your own study.
Create a Short Supporting Page
-
Use VS Code to make a copy of
index.html
inside thehw03
folder namedprogram.html
. -
Make the following changes to
program.html
:- Change the contents of the title element to something appropriate.
- Replace the main content of the page with information about the program for your event. This can be as simple as a short list of sessions and times, or a short list of keynote speakers. Feel free to improvise! Your page can match the kind of event you are running.
- Add whatever tags you think are appropriate. This is a simple file, so feel free to keep it simple.
nav
bar at the top. It will look and work the same in both files. - Validate the HTML in the new file using the W3C validator as you did in Step 5 above. Fix mistakes and revalidate the file until it contains no errors or errors.
Feel free to use an image on this page as well, or even more
than one!
Feel free to use other HTML elements that you have learned in
class, through the readings, or through your own study.
Submission
Please submit these files:
-
required:
your
index.html
file -
required:
your
program.html
file - required: the image you used for your index page
- optional: a zip file containing any other local images or files you used on your pages
Submit your files using the course submission system.
- Log in to the submission system using your CatID username and password. The page will open in a new tab.
- Select CS 1100 from the course menu.
- Select hw03 from the assignment menu.
- Follow the instructions to upload the required files and, if you wish, an optional zip file.
- Review the Uploading the following files page to be sure that your files were uploaded!
Note: You may replace a file you have already submitted or submit a new file up to the deadline by using the system again.