A template repostiory for practicing CSS by using the styles.css
file to add CSS to the HTML elements on the index.html
page.
Students can style a single webpage demonstrating their understanding of the following CSS concepts
- Basic Syntax:
- Selectors
- Properties
- Values
- Common properties
- CSS Cascading
- Adding CSS to your HTML
- Using a browser inspector to view the source code of a webpage
- The Box Model
- Block VS Inline elements
The first step will be to fork this repository to your own account and then open it up in a Codespace.
Use the style.css
file to practice styling the HTML on the index.html
page.
- Try the following properties:
color
background-color
font-family
font-size
font-weight
text-align
height
andwidth
for animg
tagmargin
,padding
, and theborder
properties
For a reference listing the different CSS properties, check out the MDN Docs: https://developer.mozilla.org/en-US/docs/Web/CSS
We've installed a tiny webserver in the development container so you can view your webpage. It should start up when you open the project in its container, or in a Codespace