CSCI 446 Unit #2

Purpose:


Programming Assignment

This is an individual assignment. The purpose is to learn SASS, which will make writing CSS code much easier!

Preparation

Exercise

For this lesson we will create a simple page modeled (very) loosely after reddit and the Oatmeal. See the screenshot below. We will use this page to explore a variety of techniques. For ease of grading, name your file SassyPage.html.

SASS

A primary purpose of this exercise is to explore SASS. The following is a list of SASS features you must use, with some hints about how I used them. Note that you do not need to match my css exactly... so these hints are just to give you an idea. Feel free to use the SASS features as you see fit, as long as you use all that are listed.

Custom fonts

With CSS3, it is easy to add custom fonts. I suggest that you work on the rest of the site first, to get used to SASS. Then you can add a custom font. You will use the following resources:

I used custom fonts for my h1 tags. The font I chose was blackjack, you may choose another font.

A few hints about file placement (these won't make sense until you've looked at the resources... figure out what you can on your own first, then take a look at these hints as needed):

CSS techniques

If you're working with CSS, it's important to be able to find and follow techniques to achieve the desired affects. Do a google search to figure out how to get a footer (the copyright statement in our example) to always stay at the bottom of the page.

Put the URL for the site you used at the top of the screen.scss file.

Example output

Your task is to create a page that looks similar to the page shown below.

Sample first html page
Figure 1: Cyndi's sample page

Specific Requirements

This assignment is worth 40 points. You must include at least the following:

You may change: the header and paragraph text, the color scheme, the sidebar image, the nav links, the sidebar links, the footer text. You are not required to have any real functionality (e.g., login button, nav links won't do anything).

For ease of grading, put comments at the top of screen.scss to indicate how/where you met the specific SASS requirements. If it's not clear that a requirement has been met, you will not receive credit (even if you met the requirement... it doesn't count if you don't document it).

Submit

Zip your files and submit on BB. The grader should be able to easily run SassyProgram.html in a browser, and review the comments in your screen.scss file to ensure that all requirements are met.