Objectives

Overview

For this project you will implement a webpage that displays the names of the 50 most populated countries in the world. The user can select a color and a font with which to display the country names. They also have the ability to filter the names by length. Finally, the user can filter the country names by choosing to exclude countries containing any combination of the letters 'N', 'A', or 'O'.

Demonstration

Here is a video that demonstrates what your webpage should look like and how it will work. Please note that this video has sound (I recorded myself talking) so be sure to have your sound on.

Below is a screenshot of the program, for your reference:

Files

To begin this project, please download the following zip file. Unzip it. You will find a folder called p5, which contains the file proj5.html. This file already contains a short script in which the array of country names is provided for you (to save you from typing in 50 country names!) You may either put your JavaScript in the HTML file, or move it to a separate proj5.js file -- it is up to you. As much as possible, you should put your style rules into a separate file called proj5.css.

Warning

This project requires a significant amount of time. Please start working on the project early. Office hours get busy during the few days before the project is due, and you may not get the help you need if you wait too long. As always, we will not grant project extensions due to technical problems on your end.

Hints:

Requirements:

Radio Buttons for Colors

List Box for Fonts

Text Boxes for Length Filtering

Checkboxes for Letter Exclusion Filters

General

Submission

To submit your project, follow these steps:

  1. Create a zip file called p5.zip that includes the following files:
    • proj5.html
    • proj5.css
    • If you chose to put your JavaScript into a separate file, please include that one too.
  2. Upload the zip file using the submit server available at: https://submit.cs.umd.edu/. Make sure you select the submit server entry (Project #5) that corresponds to this project.
  3. After submitting your project, make sure you download from the submit server the submitted file and verify that what you have submitted is correct. Important: you must uncompress (extract) what you download from the submit server, otherwise it may not be rendered correctly. We will not accept projects sent via e-mail.

Academic Integrity

Please make sure you read the academic integrity section of the syllabus so you understand what is permissible in our projects. We want to remind you that we check your project against other students' projects and any case of academic dishonesty will be referred to the University's Office of Student Conduct.

Web Accessibility