Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# project-library
# project-library

A library of books to practice JS functions including map, filter, and sort.

https://mikaelinaestefanny-library.netlify.app/
34 changes: 28 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,35 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Don't forget to change the title and connect the CSS file -->
<title>Project Library</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mikas Library</title>
<link rel="stylesheet" href="style.css" />
</head>

<body>
<h1>Project Library</h1>
<!-- Don't forget to connect the JavaScript file -->
<select id="genre-select">
<option value="">All Genres</option>
<option value="Fiction">Fiction</option>
<option value="Fantasy">Fantasy</option>
<option value="Science Fiction">Science Fiction</option>
<option value="Horror">Horror</option>
<option value="Adventure">Adventure</option>
<option value="Mystery">Mystery</option>
<option value="Dystopian">Dystopian</option>
</select>

<!-- sorting buttons -->
<button id="sort-high-to-low-button">Sort by Rating (High to Low)</button>
<button id="sort-low-to-high-button">Sort by Rating (Low to High)</button>
<!--Random button-->
<button id="random-book-button">Random Book</button>

<ul id="book-list"></ul>

<script src="script.js"></script>
</body>

</html>
4 changes: 2 additions & 2 deletions pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Add your Netlify link here.
PS. Don't forget to add it in your readme as well.

## 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]

[github-ElinaEH-1 , github-FannyEste-2]
Loading