IT-202: Assignment #1, Spring 2025

Introduction

Remember to use an acceptable text editor such as Visual Studio Code. Do not use TextEdit (Mac users) or Windows Notepad.

Details Matter!

One key objective of this assignment -- and of the course in general -- is to recognize that in a technical course such as this one, even seemingly minute details matter. In other words, you must demonstrate that you can adhere to and follow all of the tiny little details and requirements inherent in a technical course.

This includes issues such as: case sensitivity (e.g. DOCTYPE tag in upper case, whereas all file names should be in lower case), appropriate use of whitespace, inclusion of meta tags, file-naming conventions, and so on. By the time you are done with the first week of materials and this assignment, you must demonstrate that you can create a page that adheres to all of the conventions described. As an example, you can start with the HTML template discussed in the first HTML lecture.

Create the following two web pages

Page 1

Have a main heading called something like "Assignment #1, Page #1"

In this page, have the following paragraphs. Solutions can be found in lectures, News postings, and the syllabus.

All of the following paragraphs should be inside HTML <p> tags.

  1. A short paragraph describing the difference between the "due date" and the "end date" on an assignment. In this paragraph, change the color to blue using an inline style.

  2. A short paragraph describing one thing that should always be included when emailing the professor. (Hint: It has to do with the subject line of the email message.)

  3. A short paragraph describing why it is important to subscribe to News postings. In this paragraph, also write a short sentence confirming that you have subscribed to the News postings. For this paragraph, use an inline style to make the paragraph appear italicized (i.e. in italics).

  4. A short paragraph describing why HTML comments can be helpful.

  5. Lastly: Create an ordered list where you provide 3 ways to get help in the course. Using CSS, have the list be in upper case letters (i.e. A, B C) instead of the default of (1, 2, 3). It is possible that we will not have explicitly discussed how to do this in class. If so, go to the MDN (or W3Schools) website, and look under the Reference pages for CSS. From there explore until you find the appropriate CSS property to change the appearnce of a bullet.

Page 2

Create the following web page

Have a main heading called something like Assignment #1, Page #2. Inside this heading have two subheadings. Since these are a level down from the main title of your page, they should be in <h2> tags. For your two subheadings have one called Olympic Gold Medalists and another called Form Practice.

Under "Olympic Gold Medalists"

To save you time, here is one page with a list of medalists.

Create an ordered list of a few (at least 3) examples of category. (e.g. Leon Marchand, Summer Macintosh, Simone Biles).

For this ordered list, instead of the default 1, 2, 3 etc, change it to lower case Roman numerals (i.e. i, ii, iii iv, v, vi, etc.)

The CSS property to change a bullet type is list-style-type. Search this property in either MDN or W3Schools to see how to apply this to create the lower case Roman numerals as required. (That is, do not use the HTML type attribute).

Each item should open to some link (e.g. a Wikipedia page) for that topic/person. The link must open in a new page or tab.

Remember that you may not use deprecated tags or attributes.

Under each item in the above list, have a nested sublist in which you list the event in which the person won. (If they won more than one, just pick one of them). This list should be unordered. Change the default bullet from a solid circle, to some other type of bullet. Again, use CSS to do this.

Form Practice

For this part, create a form in which you simulate a (very ) simple calculator. Your calculator will ask for the height and circumference of a cylinder, and will calculate the volume. We won't worry about the actual calculation for now though, since we haven't yet learned any JavaScript. So your form will simply be made up of:

We will shortly learn how to actaully do this calculation. But for now, this is simply a chance to practice creating a form.

Include an Image

Somewhere on your page, also include an image. It can be anything you like!

Submission Requirements

Important note about uploading HTML documents to D2L

The D2L submissions folder can accept pretty much any type of file (PDF, Images, Word documents, Zip files, etc.) However, when you upload an HTML file (as you are doing for this assignment), D2L sometimes does funny things to that file. In particular, if, after you have submitted your HTML file, if you then go to your submission page on D2L and click on that file to view or download it, you may notice that the document shows code that is different from the code that you wrote!

However, do not worry. When the grader downloads the HTML file, they will see your original file – exactly the way you wrote it.

If you want to confirm that the file has been uploaded as you intended, then do not click the file directly. Instead select your file using the checkbox, and click on the 'Download' button. When you download the file and open it in your text editor, it will be the same code that you uploaded. This is the same procedure that the grader will be using.

But the MAIN thing is for the URLs for your pages to be working properly. The HTML documents that you attach to D2L are mainly there to confirm the date and time that the assignment was submitted.

Questions?

Remember to post to the D2L Discussion forum! This way we can all help each other out. However, for obvious reasons, please do NOT post chunks your code unless it is very small snippets. I don't mind posting a line or two, but more than that, we run the risk of simply posting answers to the assignment on the forum!