You will apply your knowledge from the learning lab to create a content-filled site. Using the instructions below, create a new post for a blog site and merge that post into the main repository using a pull request. Although you will work alone for this activity, everyone's content will come together in this single page. 😄
- Click the button in the upper-right hand corner of the page. You'll be directed to a copy of this repository on your GitHub account.
- Click on the _posts folder.
-
Click and name your new file following this format: 2020-06-05-name.md replacing name with your first name.
-
Add your file content in the white box under the Edit new File tab. Your file should include 2 things:
-
A response to one of the following prompts
- This summer I'm looking forward to...
- I recommend you read/watch...
- A new hobby or skill I've picked up during lockdown...
- A place I'd like to visit when things get better...
- Make your own prompt if you're feeling creative!
-
A picture related to your response. Find an image online and copy the link to include in the text.
Use this format to create your post (feel free to copy-and-paste):
--- title: the prompt of your choice e.g. "This summer I'm looking forward to..." author: your name here date: 2020-06-05 --- your response e.g. being at the beach and soaking up the sun! ![picture title](picture URL)
A sample post is available for reference in the _posts folder titled 2020-06-03-sample.md.
HINT: Use the Preview tab to see if your post is formatted correctly before committing it.
-
- Click .
- Look over your changes and click .
- Wait for a breakout room facilitator to merge your pull request. Once it's approved and merged, you can see your post here (it might take several minutes for the post to appear).
- Enjoy the posts submitted by everyone else!
- Click the button in the upper-right hand corner of the page. You'll be directed to a copy of this repository on your GitHub account.
- Click on the _posts folder.
-
Click and name your new file following this format: 2020-06-05-name.md replacing name with your first name.
-
Your file should include 3 things:
-
A response to one of the following prompts
- This summer I'm looking forward to...
- I recommend you read/watch...
- A new hobby or skill I've picked up during lockdown...
- A place I'd like to visit when things get better...
- Make your own prompt if you're feeling creative!
-
A picture related to your response. Find an image online and copy the link to include in the text.
-
The text "Comment your reply here" at the end
Use this format to create your post (feel free to copy-and-paste):
--- title: the prompt of your choice e.g. "This summer I'm looking forward to..." author: your name here date: 2020-06-05 --- your response e.g. being at the beach and soaking up the sun! ![picture title](picture URL) Comment your reply here.
A sample post is available for reference in the _posts folder titled 2020-06-03-sample.md.
-
-
Select the Pull Requests tab at the top.
- Click .
- Be sure to put "Group B" and your name in the Pull Request title
- Look over your changes and click .
-
Return to the main repository and view the Pull Requests tab 2.. Find another pull request with "Group B" in the title and open it
-
Go to the Files changed tab. Try to avoid a file that has an existing comment from another person.
-
You can toggle between the markdown syntax and the post preview to see text and images using this:
-
Find the line that says "Comment your reply here" and click the blue + button that appears next to it.
-
Press Ctrl + G to bring up the suggestion syntax and replace the line with your comment. Get creative with your reply and include a picture or a GIF! Just Be sure to include your name e.g. Emily replied "I love the beach too!"
-
To submit the review, select Start a review then select Finish your review and Submit review
- Navigate back to your Pull Request
- Review the comment suggested on your post
- Click Commit suggestion and commit the changes to the pull request.
- Let the instructor know when this step is complete and wait for your pull request to be approved and merged.
- Once the pull request is approved and merged, you can see your post here (it might take several minutes for the post to appear).
- Enjoy the posts submitted by everyone else!