-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
60 additions
and
48 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file was deleted.
Oops, something went wrong.