Skip to content

Commit

Permalink
Update to 4 in STEP and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 30, 2024
1 parent 16c57ea commit 882a15b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/steps/-step.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3
4
49 changes: 22 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,53 +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 1
### 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

### Example 2
### :keyboard: Activity: Add a task list

<pre>
``` javascript
var myVar = "Hello, world!";
```
</pre>
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!

#### How it looks
1. Return to your pull request.
1. Use Markdown to create a task list. Here is an example:

```javascript
var myVar = "Hello, world!";
```
```md
- [ ] Turn on GitHub Pages
- [ ] Outline my portfolio
- [ ] Introduce myself to the world
```

### :keyboard: Activity: Adding a code example
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>
Expand Down

0 comments on commit 882a15b

Please sign in to comment.