What are your goals this year?
Use HTML Lists, Divs, and Headers to create 4 different goal sections on the page.
To complete this project, students should have the following:
- Basic understanding of HTML structures and attributes.
HTML | Description |
---|---|
ol | An ordered list element. |
li | A list item element. |
h1 | The largest header element. |
div | A container element. |
To complete Part I, fulfill the following requirements:
- Set up your project file structure through the command line.
- Create the following:
- HTML file
- CSS file
- Link all of your files correctly.
To complete Part II, fulfill the following requirements:
- Create
div
with anid
of "container".
- Inside of this
div
, create the following: div
with aclass
of "section" andid
of "section1".div
with aclass
of "section" andid
of "section2".div
with aclass
of "section" andid
of "section3".div
with aclass
of "section" andid
of "section4".
Inside of EACH div
with a class of section, create the following:
h1
ol
li
with text "Goal"li
with text "Goal"li
with text "Goal"
Inside of the h1
, type "Daily Goal" for the 1st section, "Weekly Goal" for the 2nd section, "Monthly Goal" for the 3rd section and "Future Goal" for the 4th section.
Write in your own goals for each section. Try to be as specific as possible.
To complete Part III, fulfill the following requirements:
- Target the
body
element.
- Set the
margin
to 0.
- Target the
id
ofcontainer
.
- Specify a
height
,width
, andbackground-color
.
- Target the
class
ofsection
.
- Specify a
height
,width
, andbackground-color
.
Style each section so that it looks nice!
- Use Flexbox to center your items within each section!