Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L4: Refactor into a recipe site #1

Open
bewildergeist opened this issue Feb 22, 2022 · 0 comments · May be fixed by #4
Open

L4: Refactor into a recipe site #1

bewildergeist opened this issue Feb 22, 2022 · 0 comments · May be fixed by #4

Comments

@bewildergeist
Copy link
Owner

bewildergeist commented Feb 22, 2022

Convert the simple blog-website in lesson-04/remix-site into a simple recipe website:

  • Replace all instances of "Remix Blog" with "Remixed Recipes"
  • Change the meta description and keywords to describe a recipe site
  • Replace all instances of "post"/"posts" with "recipe"/"recipes" (also in your routing and in your "database" content — but beware of form method attributes and CSS classes, which you shouldn't change)
  • Add an "ingredients" property to each item in your db JSON file, which is an array of ingredients as text strings. Then map over this array to display the ingredients in a <ul> on the recipe permalink page, between the title and the body. Add an H2 header called "Ingredients" above the list, and an H2 header called "Description" above the body.
  • Add an input field for "ingredients" on the new-recipe-form and ensure that it saves the ingredients as an array of text strings to the "database".

If you're done early:

  • Improve the site — the above version is super basic, there are many features that could be added, and UX that could be improved, don't hold back!
chrissey3 added a commit to chrissey3/awp-spring-2022 that referenced this issue Feb 23, 2022
sandranielsen added a commit to sandranielsen/awp-spring-2022 that referenced this issue Feb 23, 2022
madshoe47 pushed a commit to madshoe47/awp-spring that referenced this issue Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant