This is an individual assignment. The purpose is to learn SASS, which will make writing CSS code much easier!
first_project
directory.create project first_project
the output included
instructions for including the stylesheets in your html. We will only deal with
the screen, so you should add the following line of code to the head of
your html file:
<link href="stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
compass watch
in your command window. That way, every time
you make changes to your .scss file, they will be reflected in the .css (and therefore in
the browser).screen.scss
(in the sass directory). For example,
just change the size of the header or color of the text. Notice
that the command window shows that the stylesheets are recreated. Take a look at
screen.css
(in the stylesheets directory). Refresh your browser to see
the changes.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
.
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.
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):
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.
Your task is to create a page that looks similar to the page shown below.
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).
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.