2018-09-30 22:01:58 +00:00
|
|
|
---
|
|
|
|
id: bd7155d8c242eddfaeb5bd13
|
|
|
|
title: Build a Recipe Box
|
|
|
|
challengeType: 3
|
2019-08-05 16:17:33 +00:00
|
|
|
forumTopicId: 302354
|
2021-01-13 02:31:00 +00:00
|
|
|
dashedName: build-a-recipe-box
|
2018-09-30 22:01:58 +00:00
|
|
|
---
|
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
# --description--
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
**Objective:** Build a [CodePen.io](https://codepen.io) app that is functionally similar to this: <https://codepen.io/freeCodeCamp/full/dNVazZ/>.
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
Fulfill the below [user stories](https://en.wikipedia.org/wiki/User_story). Use whichever libraries or APIs you need. Give it your own personal style.
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
**User Story:** I can create recipes that have names and ingredients.
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
**User Story:** I can see an index view where the names of all the recipes are visible.
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
**User Story:** I can click into any of those recipes to view it.
|
|
|
|
|
|
|
|
**User Story:** I can edit these recipes.
|
|
|
|
|
|
|
|
**User Story:** I can delete these recipes.
|
|
|
|
|
|
|
|
**User Story:** All new recipes I add are saved in my browser's local storage. If I refresh the page, these recipes will still be there.
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
**Hint:** You should prefix your local storage keys on CodePen, i.e. `_username_recipes`
|
2018-09-30 22:01:58 +00:00
|
|
|
|
2020-11-27 18:02:05 +00:00
|
|
|
When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.
|
|
|
|
|
|
|
|
You can get feedback on your project by sharing it on the [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
|
|
|
|
|
|
|
|
# --solutions--
|
2018-09-30 22:01:58 +00:00
|
|
|
|
|
|
|
```js
|
|
|
|
// solution required
|
|
|
|
```
|