Welcome Back! Let’s get down to it!
This week we are going to:
- Quickly introduce and catch up anyone who is new this week – WELCOME!
- Make sure everyone has the following:
- GitHub Account
- Cloud9 Account with our team
- Forked the HTML5, CSS and JS book repo at github
- Created a new workspace with the github repo in Cloud9
- Let’s add a home page for our site – kind of like this: https://youtu.be/ent9dh0dRJg
- Add “index.html” in cloud 9 and type in a bit of html (we will talk about this in a bit)
- git add .
- git commit -m “added index.html”
- git push
- Enable GitHub Pages in settings (it is probably turned off by default)
- Copy the URL in your GitHub settings for your website, once you push your changes, your site is published there! Whoot!
- Now let’s add
- A title for our index page <title>This is my really great page</title>
- A header <H1>This is my really great header</H1>
- An image <img src=”myImage.jpeg” alt”really great image”/>
- Make a new folder called “images”
- Find a great image online somewhere and save as to your desktop
- File -> upload local files in Cloud9
- push again to git
- git commit -a -m “my note”
- git push
- What happened? Didn’t work quite right? Let’s TROUBLESHOOT!
- Can we see what is going on by using F12 developer tools in Chrome?
- Can we see if everything got up to git the way we wanted? Check out our git hub repo online.
- Use Ctrl+F5 to do a forced refresh of your browser
- BONUS: If we have time, check out https://www.favicon-generator.org/
- Make a favicon
- Add it to the root of your website
- Add two lines to your header
- Commit, push and check out your site!
- Awesome! Share your site URL on Slack so we can all see it!