Update to 4 in STEP and README.md

This commit is contained in:
github-actions
2023-06-10 12:44:14 +00:00
parent 8d9c5efe83
commit a7922d0b48
2 changed files with 26 additions and 17 deletions

View File

@@ -1 +1 @@
3
4

View File

@@ -14,39 +14,48 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text
</header>
<!--
<<< Author notes: Step 3 >>>
<<< Author notes: Step 4 >>>
Start this step by acknowledging the previous step.
Define terms and link to docs.github.com.
-->
## Step 3: Add a code example
## Step 4: Make a task list
_Great job adding an image to the file :tada:_
_Great job adding a code example to the file :partying_face:_
In addition to code blocks, some code blocks should be rendered differently depending on the language, such as JavaScript or command-line text.
**What is a _task list_?** A task list creates checkboxes to check off. They're very useful for tracking issues and pull requests. If you include a task list in the body of an issue or pull request, you'll see a progress indicator in your issue list. The syntax for task lists is very specific. Be sure to include the spaces where required, or else they won't render.
### Example
<pre>
```
$ git init
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
- [x] List syntax is required
- [x] This item is complete
- [ ] This item is not complete
```
</pre>
#### How it looks
```
$ git init
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
```
- [x] List syntax is required
- [x] This item is complete
- [ ] This item is not complete
### :keyboard: Activity: Adding a code example
### :keyboard: Activity: Add a task list
GitHub Actions went ahead and made a branch for you. So you'll need to add to the file we've created in the branch, and we will check your work as you work through this course!
1. Return to your pull request.
1. Use Markdown to create a task list. Here is an example:
```md
- [ ] Turn on GitHub Pages
- [ ] Outline my portfolio
- [ ] Introduce myself to the world
```
Remember, a task list starts with the syntax `- [ ]` and then the task list item. The formatting is specific!
1. As you did before, edit the file in this pull request.
1. In the file, add the correct Markdown for a code example of your choice.
1. Use the **Preview** tab to check your Markdown formatting.
1. Commit your changes.
1. Commit the changes to the file.
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
<footer>