You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-27Lines changed: 22 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,53 +14,48 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text
14
14
</header>
15
15
16
16
<!--
17
-
<<< Author notes: Step 3 >>>
17
+
<<< Author notes: Step 4 >>>
18
18
Start this step by acknowledging the previous step.
19
19
Define terms and link to docs.github.com.
20
20
-->
21
21
22
-
## Step 3: Add a code example
22
+
## Step 4: Make a task list
23
23
24
-
_Great job adding an image to the file :tada:_
24
+
_Great job adding a code example to the file :partying_face:_
25
25
26
-
Let's add some code blocks. Code blocks can render differently depending on the language.
26
+
**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.
27
27
28
-
### Example 1
28
+
### Example
29
29
30
-
<pre>
31
30
```
32
-
$ git init
33
-
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
31
+
- [x] List syntax is required
32
+
- [x] This item is complete
33
+
- [ ] This item is not complete
34
34
```
35
-
</pre>
36
35
37
36
#### How it looks
38
37
39
-
```
40
-
$ git init
41
-
Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
42
-
```
38
+
-[x] List syntax is required
39
+
-[x] This item is complete
40
+
-[ ] This item is not complete
43
41
44
-
### Example 2
42
+
### :keyboard: Activity: Add a task list
45
43
46
-
<pre>
47
-
``` javascript
48
-
var myVar = "Hello, world!";
49
-
```
50
-
</pre>
44
+
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!
51
45
52
-
#### How it looks
46
+
1. Return to your pull request.
47
+
1. Use Markdown to create a task list. Here is an example:
53
48
54
-
```javascript
55
-
var myVar ="Hello, world!";
56
-
```
49
+
```md
50
+
- [ ] Turn on GitHub Pages
51
+
- [ ] Outline my portfolio
52
+
- [ ] Introduce myself to the world
53
+
```
57
54
58
-
### :keyboard: Activity: Adding a code example
55
+
Remember, a task list starts with the syntax `- [ ]` and then the task list item. The formatting is specific!
59
56
60
-
1. As you did before, edit the file in this pull request.
61
-
1. In the file, add the correct Markdown for a code example of your choice.
62
57
1. Use the **Preview** tab to check your Markdown formatting.
63
-
1. Commit your changes.
58
+
1. Commit the changes to the file.
64
59
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.
0 commit comments