-
Notifications
You must be signed in to change notification settings - Fork 33
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
JS project recipe library (Kasia) #13
Open
Kasssiiii
wants to merge
11
commits into
Technigo:main
Choose a base branch
from
Kasssiiii:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
aaf8eba
edited HTML file, added script and style files
Kasssiiii 74ae922
added placeholder recipe - photo and styling
Kasssiiii 40e6967
added JS for user's selection including conditional statements to dis…
Kasssiiii 0dd5feb
responsiveness and styling
Kasssiiii e14106a
added Random button to HTML and CSS
Kasssiiii 91c4eb6
JS receipe sorting and display - Week 2
Kasssiiii f770d1a
added error area
Kasssiiii cce6e4f
independent filter and sort options
Kasssiiii ad642e4
comments and review
Kasssiiii e404f08
README file - added Netlify link
Kasssiiii 60e25ea
added favicon
Kasssiiii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 +1,3 @@ | ||
# js-project-recipe-library | ||
|
||
https://js-recipe-libr.netlify.app/ |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>JS Recipe Library</title> | ||
<link rel="icon" type="image/x-icon" href="/favicon.ico"> | ||
<link rel="stylesheet" href="./style.css" /> | ||
</head> | ||
|
||
<body> | ||
<h1>Recipe Library</h1> | ||
<main> | ||
<button class="random-button" id="random" type="button"> | ||
Give me a random recipe! | ||
</button> | ||
|
||
<section class="filters"> | ||
<div class="filter"> | ||
<h2>Filter on kitchen</h2> | ||
<div class="filter-buttons"> | ||
<button class="filter-button active" id="all" type="button">All</button> | ||
<button class="filter-button" id="lunch" type="button">Lunch</button> | ||
<button class="filter-button" id="soup" type="button">Soup</button> | ||
<button class="filter-button" id="dessert" type="button">Dessert</button> | ||
<button class="filter-button" id="drink" type="button">Drink</button> | ||
<button class="filter-button" id="snack" type="button">Snack</button> | ||
<button class="filter-button" id="salad" type="button">Salad</button> | ||
<button class="filter-button" id="breakfast" type="button">Breakfast</button> | ||
<button class="filter-button" id="side dish" type="button">Side Dish</button> | ||
|
||
</div> | ||
</div> | ||
<div class="sort"> | ||
<h2>Sort on price per serving</h2> | ||
<div class="sort-buttons"> | ||
<button class="sort-button active" id="highToLow">Descending</button> | ||
<button class="sort-button" id="lowToHigh">Ascending</button> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section class="errorMessage" id="errorMessage"></section> | ||
|
||
<section class="recipeSection" id="recipeSection"> | ||
<!-- Recipe placeholder template - W1&2 of the project | ||
<div class="recipe"> | ||
<img src="./images/placeholder.png"/> | ||
<h2>Recipe title</h2> | ||
<hr></hr> | ||
<section class="details"> | ||
<div class="Cuisine"> | ||
<div class="detailsElement"><div class="Recipe-title">Cuisine:</div><div class="Recipe-region">tbd</div></div> | ||
<div class="detailsElement"><div class="Recipe-title">Time:</div><div class="Recipe-time">tbd</div></div> | ||
</div> | ||
</section> | ||
<hr/> | ||
<div class="Recipe-title">Ingredients</div> | ||
<div class="Ingredients"> | ||
<ul> | ||
<li>Ingredient 1</li> | ||
<li>Ingredient 2</li> | ||
<li>Ingredient 3</li> | ||
<li>...</li> | ||
</ul> | ||
</div> | ||
</div>--> | ||
</section> | ||
</main> | ||
<!-- JavaScript file --> | ||
<script src="./script.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, why is this here? I am not suggesting it is wrong, just that I did it another way...I think and so find it useful to understand how we can find the same solution but in a different way. Thank you!