CSE 154 19sp CP 1: HTML/CSS
For your first Creative Project, you will use what we’re learning about HTML and CSS to
make a simple website with at least two HTML pages linked to one shared CSS file.
As a Creative Project, you have the freedom to have more ownership in your work as compared to a
Homework Assignment, as long as you meet the requirements below.
As a reminder, assignments will alternate between creative projects (CPs) and more formal homework
assessments (HWs). We have designed assignments to support each of the 5 modules of this
course, and for creative projects to prepare you for the following HW in each module. As long as you
meet the external and internal requirements sections below, you have freedom in what kind of
website you create.
That said, we encourage you to explore the new material covered in class, as well as
related (but optional) content we may link to along the way (e.g. CSS3 animations), as
long as you follow the CSE 154 code quality guidelines. This is your chance to:
In past quarters, some students have built upon their Creative Project each week. You may
choose to do a new website for each CP, or build on a single project, as long as you meet
requirements listed for that particular CP.
Here are some ideas for Spring 2019 (Your instructors are more than happy to help discuss more
ideas in their office hours!):
about.html
):about.html
(do not change this file name)..html
file (you can choose the filename) that is linked from about.html
with an <a>
tag that will count towards your 10 tags instyle.css
file.style.css
to both about.html
and your other HTML page to style your websitesans-serif
) specified. Remember to import Google fonts at the top of your CSS file, not in the HTML!<!DOCTYPE html>
, <html>
, <head>
, and <body>
will qualify towards this count) instyle.css
must have at least 4 additional different CSS selectors other than the body
selector in the file given to you. Refer to this page for a CSS reference of selectors.style.css
must apply at least 5 additional and unique CSS rules (other than those provided in the default style.css
) to content in your HTML files. Recall a rule is a property: value pair, so for two rules to be unique both the property and the value must differ (i.e. color: blue
; and color: green
; are not considered two unique rules.).html
and .css
files should be relative links, not absolute.b
or font
.style.css
should avoid redundancy - do not include duplicate selectors and avoid redundantproperty : value
where you can factor these out with shared selectors (refer to the Code Qualitystyle.css
should be used in either of your HTML pages (make sure to double-check thatstyle.css
. You are not allowed to use any template HTML files for frameworks (this defeats the purpose of writing HTML and CSS from scratch in this first assignment).Place a comment header in each file with your name, section, a brief description of the assignment, and the files contents. Examples:
HTML File:
<!--
Name: Mowgli Hovik
Date: April 1, 2019
Section: CSE 154 AB
This is the index.html page for my portfolio of web development work. It includes links to side
projects I have done during CSE 154, including an About page, a blog template, and
a crytogram generator.
-->
CSS File:
/*
Name: Mowgli Hovik
Date: April 1, 2019
Section: CSE 154 AB
This is the style.css page for my portfolio of web development work.
It is used by all pages in my portfolio to give the site a consistent look and feel.
*/
Grading for Creative Projects is lighter with the chance to explore and learn without the overhead of
having to match strict external requirements. Our goal is to give you feedback, particularly on the internal
requirements and style and documentation, so you can incorporate this feedback in your homework assignments which
will be worth more towards your final grade. That said, this is an opportunity for you to explore
what you’re learning and get feedback on appropriate use of HTML/CSS for HW1 (and of course “free”
personal portfolio feedback from your TAs :)).
This CP will be out of 8 points and will likely be distributed as:
Often we will include a “Late Day Challenge” for you to learn independently and get a chance to add more features to your personal work. In this Creative Project, you can earn an extra late day if you meet the following requirements:
zengarden.html
and cse154logo.png
here, then add at least 8 different CSS rules of your choice with at least 3 different selectors to redesign it. Submit your new CSS as custom.css
with the (unchanged) zengarden.html
and cse154logo.png
files with the rest of your CP1 repository files. We will include a variety of (anonymous) submissions in a CSE 154 Zen Garden inspired by the original CSS Zen Garden! zengarden.html
or custom.css
.zengarden.html
is adapted by earlier work done by Henry Ko, a former CSE 154zengarden2.html
. If you use 10 or more different HTML tags within the body
, you may use yours instead ofzengarden.html
for the Late Day Challenge (you will still need to complete the custom.css
).