Skip to content

Commit 111b953

Browse files
committed
Adding overview of what we did in week3
1 parent 788b27f commit 111b953

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

week3/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Week 3 November 22nd
2+
This week we focused on a couple of new concepts.
3+
4+
1. Style Class
5+
- We added a style class to our paragraph html tags called `whiteBg`
6+
- Then we added that style class to our *style.css* file and learned that `class` in HTML is `.` in css.
7+
2. We learned out to center a container on the page
8+
- We added `margin-left: auto; margin-right: auto` to our `div#container` (our div with id of container).
9+
- We set the width of the container to a percentage (we can't center something taking up the whole screen can we?!)
10+
3. We changed the background of the entire page to an image
11+
- We modified our `body {}` style to use `background-image: url('coder.png');`
12+
- We added *background-repeat* and experimented setting it to *no-repeat*, *repeat-x* or *repeat-y*.

0 commit comments

Comments
 (0)