Pre-Work for Web Programming Summer 2019

NOTE: you will need a flash drive to submit your pre-work. These can be purchased at any store that sells computer supplies (or even ordered online, if you allow sufficient time for delivery).

This course assumes a very basic knowledge of using your computer's operating system. You should know:

Please contact the instructor (crader@mines.edu) if you have questions about this.

We will be editing files (HTML, CSS and JavaScript) using a text editor. Text editors are generally easy to use, but might feel strange for anyone completely new to computing. Prior to the workshop, it is important that you can:

If you've never used a text editor, here are some options:

Windows. Notepad is preloaded on most machines, or upgrade to another option such as Notepad++ (https://notepad-plus-plus.org/). Some tutorials on using Notepad (or google to find a video, if you prefer):

Mac. A simple option is TextEdit:

Learning HTML

This workshop covers quite a bit of material, so it's important for everyone to have at least a minimal knowledge of HTML at the start. One of the best ways to learn is with small snippets of code that can be easily explored. An excellent online resource for learning HTML has been developed by w3schools. The pre-work consists of:

The HTML page you create will be used during the first morning of the workshop, as part of the lesson on CSS (i.e., we will add color and other styling to your page). If you are unable to get through all the requirements, a file will be provided for you to use. Please note that these requirements are all straightforward modifications of the examples provided by w3schools. There are no challenges or problem solving; you will simply copy some code from the TryIt Editor and modify to fit our assignment. An example is changing the header text to something like "Welcome to Cyndi's Page".

Specific Requirements

Introduction and Overview

Read https://www.w3schools.com/html/

Read https://www.w3schools.com/html/html_intro.asp NOTE: we will use HTML 5, no need to worry about prior versions.

Test your understanding:

Getting started with your own file.

If you are completely new to programming, this section is critical, as you need to create one .html file and run it within a browser on your computer. This is not difficult, but it does require that you understand files and folders.

Read: https://www.w3schools.com/html/html_editors.asp

OR

https://www.wikihow.com/Run-a-HTML-File

The Assignment

Copy the Simple HTML Document (from https://www.w3schools.com/html/html_intro.asp), then modify the title, header and paragraph to be an "about" page for yourself.

See my completed example here. At this point, all you will have is the title and first header and paragraph. We will add more elements as you walk through the tutorial.

Your completed pre-work should have all the required elements, but the content should be your own. Feel free to add/modify as you see fit - the point is for you to apply what you're learning in the tutorial.

Take a minute to review my page. Notice that I have text in various places, such as "My favorite restaurant is:" before the link to a restaurant. All of these text items are created using the paragraph (<p>) tag. The instructions below will not specify all of these text items. You should insert paragraphs as needed for your content.

Read https://www.w3schools.com/html/html_basic.asp

Read https://www.w3schools.com/html/html_elements.asp

Read https://www.w3schools.com/html/html_attributes.asp

Read https://www.w3schools.com/html/html_headings.asp

Read https://www.w3schools.com/html/html_paragraphs.asp

Skip or skim: https://www.w3schools.com/html/html_styles.asp

Read https://www.w3schools.com/html/html_formatting.asp

Read https://www.w3schools.com/html/html_quotation_elements.asp

Read https://www.w3schools.com/html/html_comments.asp

Read https://www.w3schools.com/html/html_colors.asp

Skip or skim: https://www.w3schools.com/html/html_css.asp

Read https://www.w3schools.com/html/html_links.asp

In your "about" page:

Read https://www.w3schools.com/html/html_images.asp

Skip: https://www.w3schools.com/html/html_tables.asp

Read https://www.w3schools.com/html/html_lists.asp

Description lists are not as common, and probably not as relevant for a high school audience.

Submitting your Pre-Work - IMPORTANT

To receive credit for your pre-work, and so that it is accessible during the workshop, please copy all your files (one .html and at least one image file) onto a flash drive. Your work will be reviewed briefly during the first day of the workshop.