Skip to content

Commit

Permalink
Add images and update first step
Browse files Browse the repository at this point in the history
  • Loading branch information
lawsie committed Dec 13, 2024
1 parent 7649643 commit 8902893
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 48 deletions.
Binary file added en/code/recipe-complete/banana.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/banana.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/chocolate.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/dough.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/fruit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/milk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/pepper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/rice.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/code/recipe-starter/tomatoes.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion en/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ version: 3
last_tested: 2017-01-01
steps:
- title: What you will make
- title: Decide on a recipe
- title: Ingredients
completion:
- engaged
Expand Down
67 changes: 60 additions & 7 deletions en/step_2.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,66 @@
## Decide on a recipe
## Ingredients

Before you get coding, you’ll need to decide on a recipe.
The example recipe you’ll see in this project is for a banana milkshake, but you can choose your own.

Let’s list the ingredients that are needed for your recipe.

--- task ---
Open the [starter project](https://staging-editor.raspberrypi.org/en/projects/recipe-starter){:target="_blank"}.
--- /task ---

+ Think about a recipe you want to share with your friends. It could be:
+ A recipe you found online;
+ Your favourite meal;
+ Something you made up!
--- task ---
In the `<body>` section, add a title for your recipe.

The example recipe you’ll see in this project is for a banana milkshake. You can copy this recipe if you can’t find one of your own.
--- code ---
---
language: html
line_numbers: true
line_number_start: 7
line_highlights: 8-10
---
<body>
<h1>Banana Milkshake</h1>

<h3>Ingredients:</h3>

</body>
--- /code ---

--- /task ---

--- task ---
The `<ul>` tag creates an unordered list. Add the tags to start and end your list.

--- code ---
---
language: html
line_numbers: true
line_number_start: 10
line_highlights: 11-13
---
<h3>Ingredients:</h3>
<ul>

</ul>

</body>
--- /code ---

--- /task ---

+ View your webpage, and you should see your two headings.

![screenshot](images/recipe-headings.png)

You won’t see your list yet though, because you haven’t added any list items to it!

+ The next step is to add list items into your list, by using the `<li>` tag. Add the following code inside your `<ul>` tag:

```
<li>1 banana</li>
```

![screenshot](images/recipe-ul.png)

As your list is unordered, there are no numbers next to the list items, just bullet points.

40 changes: 0 additions & 40 deletions en/step_3.md

This file was deleted.

0 comments on commit 8902893

Please sign in to comment.