- Create new github repo
- Clone the repo to your computer
2B. You do not need to make a new branch, you can work on
main - Create
index.htmland use the!shortcut to create starter code - Add an
<h1>Hello World</h1>to the<body> - Then create a
styles.cssfile and change thecolorproperty of yourh1to a color of your choice - Be sure to test your HTML in the browser and you should be able to see the color change of your Hello World text
- If the color hasn't changed you may not have linked it correctly...
<link href="" rel="stylesheet"> - If it still doesn't work make sure that the spelling of your link and the files it is referring to are accurate and that your
<h1>is in the<body>and has an opening and closing tag. - Once you have successfully linked your HTML and CSS, add your changes, commit them, and then push them to your remote.
- Publish your site, Settings > Pages > select
mainfrom dropdown > Save - Add a URL to your live page to this document: Put link here
-
Notifications
You must be signed in to change notification settings - Fork 0
KatyaMa/HTML-CSS-Starter-code
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published