From 66d42becf9375e0ba4152d71b86da739bf36f241 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 12 Dec 2024 15:55:58 +0000 Subject: [PATCH 1/4] Update to 3 in STEP and README.md --- .github/steps/-step.txt | 2 +- README.md | 42 ++++++++++++++++++++++++++++++----------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/.github/steps/-step.txt b/.github/steps/-step.txt index 0cfbf08..00750ed 100644 --- a/.github/steps/-step.txt +++ b/.github/steps/-step.txt @@ -1 +1 @@ -2 +3 diff --git a/README.md b/README.md index 4c3110f..c33bdf4 100644 --- a/README.md +++ b/README.md @@ -14,31 +14,51 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text -## Step 2: Add an image +## Step 3: Add a code example -_Great job adding headers to the file :sparkles:_ +_Great job adding an image to the file :tada:_ -Let's add an image. Include descriptive text in the square brackets. This text is read aloud for people using screen readers. It's also shown at times when your image doesn't display, such as when there's a poor connection. You can see the syntax for images below: +Let's add some code blocks. Code blocks can render differently depending on the language. -### Example +### Example 1 -```md -![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png) +
 ```
+$ git init
+Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/
+```
+
+ +#### How it looks + +``` +$ git init +Initialized empty Git repository in /Users/skills/Projects/recipe-repository/.git/ +``` + +### Example 2 + +
+``` javascript
+var myVar = "Hello, world!";
+```
+
#### How it looks -Image of Yaktocat +```javascript +var myVar = "Hello, world!"; +``` -### :keyboard: Activity: Adding an image +### :keyboard: Activity: Adding a code example -1. As you did before, edit the `index.md` file in this pull request. -1. In the file, add the correct Markdown for your image of choice. Don't forget to include alt-text! +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. 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. From 855701fd999fa34fff06840d95b23e95973c4dc0 Mon Sep 17 00:00:00 2001 From: Frosch_79 <142139869+Frosch79@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:58:19 +0100 Subject: [PATCH 2/4] Update index.md add picture --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index e7c0021..beb55b4 100644 --- a/index.md +++ b/index.md @@ -3,4 +3,4 @@ ## This is an `

` header 2 ###### This is an `

` header, which is the smallest 6 -![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png) +![Image of cute cat](https://octodex.github.com/images/yaktocat.png) From 4cfeffa8ed6e7980cad719f3ea59f46f6a62b275 Mon Sep 17 00:00:00 2001 From: Frosch_79 <142139869+Frosch79@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:02:52 +0100 Subject: [PATCH 3/4] Update index.md picture --- index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.md b/index.md index beb55b4..4423acc 100644 --- a/index.md +++ b/index.md @@ -3,4 +3,5 @@ ## This is an `

` header 2 ###### This is an `

` header, which is the smallest 6 -![Image of cute cat](https://octodex.github.com/images/yaktocat.png) +``` Picture``` +![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png) From f0b5f14fb04b92e1895854169d5a8f0924f93d35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 12 Dec 2024 16:03:31 +0000 Subject: [PATCH 4/4] Update to 4 in STEP and README.md --- .github/steps/-step.txt | 2 +- README.md | 49 ++++++++++++++++++----------------------- 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/.github/steps/-step.txt b/.github/steps/-step.txt index 00750ed..b8626c4 100644 --- a/.github/steps/-step.txt +++ b/.github/steps/-step.txt @@ -1 +1 @@ -3 +4 diff --git a/README.md b/README.md index c33bdf4..83958a1 100644 --- a/README.md +++ b/README.md @@ -14,53 +14,48 @@ _Organize ideas and collaborate using Markdown, a lightweight language for text -## 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:_ -Let's add some code blocks. Code blocks can render differently depending on the language. +**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 -
 ```
-$ 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
 ```
-
#### 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 -
-``` javascript
-var myVar = "Hello, world!";
-```
-
+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.