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

Easy Peasy Recipes (by Anna, Gabriella and Gitte) #49

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a03f701
Co-authored-by: Gabriella Iofe <[email protected]>
gittebe Sep 17, 2024
3154b02
Co-authored-by: Anna Hansen <[email protected]>
gittebe Sep 17, 2024
57beb9c
Co-authored-by: Anna Hansen <[email protected]>
gittebe Sep 17, 2024
281595c
- added CSS style
gittebe Sep 17, 2024
e9a1bea
- worked on the CSS, changing the selection part
gittebe Sep 17, 2024
61fd8a5
- worked on CSS: buttons
gittebe Sep 17, 2024
fed68fa
Co-authored-by: Anna Hansen <[email protected]>
gittebe Sep 18, 2024
e7209d2
- added functions of filter and sorting buttons
gittebe Sep 19, 2024
258333c
- added cooking time buttons
gittebe Sep 19, 2024
4d6fa85
- worked on js: changed the cuisine buttons to make a drop-down menu
gittebe Sep 20, 2024
92911f6
created a random button in html/js
gabster94 Sep 20, 2024
bf6c714
made the ingredients list an actual list
gabster94 Sep 20, 2024
7aca4ed
-
gittebe Sep 20, 2024
e16bf3b
Merge branch 'main' of https://github.com/gittebe/project-library
gittebe Sep 20, 2024
b0c878b
null became a number(time)
gabster94 Sep 20, 2024
e79514e
Merge branch 'main' of https://github.com/gittebe/project-library
gabster94 Sep 20, 2024
193f8ff
styled the cards
gabster94 Sep 20, 2024
535aaaa
styled the random button div and corrected/added time to the cards. a…
gabster94 Sep 20, 2024
95723a1
-
gabster94 Sep 20, 2024
7bdfc91
- added code for the dropdown
gittebe Sep 20, 2024
3afddcb
Merge branch 'main' of https://github.com/gittebe/project-library
gittebe Sep 20, 2024
e154a6d
- added back the const for ingredientsList
gittebe Sep 20, 2024
9fa0be4
- changed css of #filterDropdown
gittebe Sep 20, 2024
601f6f2
recreated the lists in a way where is integrated in innerHTML to ind…
gabster94 Sep 21, 2024
6719471
- deleted unessesary code in the CSS
gittebe Sep 21, 2024
dd17777
- added @media in CSS
gittebe Sep 21, 2024
fcb53ea
- changed card width
gittebe Sep 21, 2024
ee3fcdb
Update style.css buttons
Anna2024WebDev Sep 22, 2024
4586375
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
8cb4d1c
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
bd59cd1
Update README.md
Anna2024WebDev Sep 22, 2024
cd30a32
Update README.md
Anna2024WebDev Sep 22, 2024
925cb3b
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
c20cbd6
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
ddbea26
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
36cce9a
Update pull_request_template.md
Anna2024WebDev Sep 22, 2024
78685d4
- added to the README
gittebe Sep 22, 2024
7309dd6
Update pull_request_template.md
gittebe Sep 22, 2024
c0e4ee5
Update README.md
gittebe Sep 22, 2024
3dec5e4
added a missing closing tag (for<section>)
gabster94 Sep 23, 2024
f5d8cbf
Removed default browser settings buttons/dropdown
Anna2024WebDev Sep 24, 2024
a0f44b2
Update style.css_cleaned up button code
Anna2024WebDev Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# project-library
# project-library

This week our project was to build a library using arrays as well as DOM manupulations, functions, variables and event handling. Our recipe library page offers options for filtering, sorting, and randomly selecting items.

This project was the first team project as part of the Technigo bootcamp. Working together on the same repository has been a new important experience for us.
We decided on the project together and build a first HTML and CSS together. We worked on the Javascript codes first idividually and explained and discussed them later on.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Link: https://library-recipes.netlify.app
61 changes: 58 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,68 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<!-- Don't forget to change the title and connect the CSS file -->
<title>Project Library</title>
<title>Easy Peasy Recipes</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
</head>

<body>
<h1>Project Library</h1>
<!-- Don't forget to connect the JavaScript file -->
<header>
<h1>Easy Peasy Recipes</h1>
</header>
<main>

<div class="categories" id="categories">


<div class="dropdownContainer">
<h2>Type of Kitchen</h2>
<select id="filterDropdown">
<option value="all" id="all">All</option>
<option value="italian">Italian</option>
<option value="asian">Asian</option>
<option value="american">American</option>
</select>
</div>

<div class="time-container">
<h2 class="">Time</h2>
<form for="time">
<button type="button" class="shortest" id="shortest">Shortest</button>
<button type="button" class="longest" id="longest">Longest</button>
</form>
</div>

<div class="sort-container">
<h2>Sort A-Z</h2>
<form for="sort">
<button type="button" class="ascending" id="ascendingButton">Ascending</button>
<button type="button" class="decending" id="descendingButton">Decending</button>
</form>
</div>

</div>

<div class="random-container">
<h2>What's for dinner tonight?</h2>
<p>Can't decide? Let us help you pick your dinner.</p>
<button type="button" class="random-button" id="random-button">Surprise me!
</button>
</div>

<section id="card-container">
</section>

</main>

<!-- Link to connect the JavaScript file -->
<script src="./script.js"></script>
</body>

</html>
10 changes: 6 additions & 4 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Netlify link
Add your Netlify link here.
PS. Don't forget to add it in your readme as well.
https://library-recipes.netlify.app

## Collaborators
Add your collaborators here. Write their GitHub usernames in square brackets. If there's more than one, separate them with a comma, like this:
[github-username-1, github-username-2]
Gitte Beckmann,
Anna Hansen,
Gabriella Iofe

[gittebe, Anna2024WebDev, gabster94]
Loading