Resources
- //CSS: Text formatting
- //CSS: Applying styles using IDs
- //CSS: Positioning
- //CSS: Animation
- //CSS: Color
- //CSS: Selectors: tags, IDs, and classes
-
//CSS: Style containers:
<div>
and<span>
- //STYLE: Capitalizing HTML tags
- //STYLE: Formatting code with tab indents
- //STYLE: Use comments to communicate
- //STYLE: Avoid long lines of code
-
//STYLE:
Keep your CSS inside your
<head>
The assignment
Use HTML and CSS to display a game board. Use color and font changes, positioning, CSS selectors, and style containers to show your skills.
You may wish to add a table of scores on your page, and/or a list of simple instructions in order meet the evaluation requirements.
Evaluation
-
___/10 HTML: Quality of HTML code.
For full marks, you must include:
- a
<span>
- a
<div>
- a heading
- a table
- a list or paragraph
- a
-
___/10 CSS: Quality of CSS code, choose ANY TEN of:
- applying a style to a
tag
- applying a style to an
#ID
- applying a style to a
.class
- applying a
color:
oropacity:
- applying a
background-color:
- changing a
font-size:
-
changing the
font-family:
,font-style:
, orfont-weight:
- changing the
width:
orheight:
- changing the
text-align:
- making a
border:
- changing the
position:
-
placing something using
left:
ortop:
- changing stack order with
z-index:
- adding a CSS animation
- applying a style to a
-
___/10 STYLE:, including:
- Use the correct filename for your assignments
- Add your name as the code author
- Keep the change log updated
- Capitalizing HTML tags
- x3 Formatting code with tab indents
- Use comments to communicate
- Avoid long lines of code
-
Keep your CSS inside your
<head>
Hidden Agenda
- No, it does not have to be a game board. Make anything fun that you want that demonstrates the skills you have learned.
- Use what you have learned about CSS to create something
- Use good style to communicate clearly
- Know the difference between <div> and <span>
Saving your work
Use Save as...
to save the empty template as
"1.08H-MakeAGameBoard-LastName.html
"
in your Computer Programming 12 directory.
References and Image bank
All images will begin with
http://drapak.ca/cpg/img/
For example:
<img src="http://drapak.ca/cpg/img/gameBoard-goBoard.svg">
Chess
Chess symbols in Unicode [wikipedia]
Go
Parcheesi
Monopoly — Everything but the board are based on designs from Star City Designs
Extend and expand
There are other games out there!
What about hex maps for war games, or card games, and so on.
Find images, link to them and make something interesting.