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

initial commit #79

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
# WEB102 Prework - *Name of App Here*
# WEB102 Prework - _Sea Monster CrowdFunding_

Submitted by: **Your Name Here**
Submitted by: **Tanvir Islam**

**Name of your app** is a website for the company Sea Monster Crowdfunding that displays information about the games they have funded.
**Sea Monster CrowdFunding** is a website for the company Sea Monster Crowdfunding that displays information about the games they have funded.

Time spent: **X** hours spent in total
Time spent: **6** hours spent in total

## Required Features

The following **required** functionality is completed:

* [ ] The introduction section explains the background of the company and how many games remain unfunded.
* [ ] The Stats section includes information about the total contributions and dollars raised as well as the top two most funded games.
* [ ] The Our Games section initially displays all games funded by Sea Monster Crowdfunding
* [ ] The Our Games section has three buttons that allow the user to display only unfunded games, only funded games, or all games.
- [ X] The introduction section explains the background of the company and how many games remain unfunded.
- [ X] The Stats section includes information about the total contributions and dollars raised as well as the top two most funded games.
- [ X] The Our Games section initially displays all games funded by Sea Monster Crowdfunding
- [ X] The Our Games section has three buttons that allow the user to display only unfunded games, only funded games, or all games.

The following **optional** features are implemented:

* [ ] List anything else that you can get done to improve the app functionality!
- [ X] List anything else that you can get done to improve the app functionality!

## Video Walkthrough

Here's a walkthrough of implemented features:

<img src='http://i.imgur.com/link/to/your/gif/file.gif' title='Video Walkthrough' width='' alt='Video Walkthrough' />
<img src='/seamonster.gif' title='Video Walkthrough' width='' alt='Video Walkthrough' />

<!-- Replace this with whatever GIF tool you used! -->
GIF created with ...

GIF created with Kap

<!-- Recommended tools:
[Kap](https://getkap.co/) for macOS
[ScreenToGif](https://www.screentogif.com/) for Windows
Expand Down
6 changes: 3 additions & 3 deletions games.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const games = ` [
"img": "./assets/kingdom_death.png"
}
]
`
`;
const template = `
{
"name": "",
Expand All @@ -99,6 +99,6 @@ const template = `
"backers": 0,
"img": ""
},
`
`;

export default games;
export default games;
66 changes: 34 additions & 32 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,63 +2,65 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- header row with logo -->
<div class="header">
<img id="tentacles" src="assets/tentacles.png">
<h1 class="header-text">Sea Monster Crowdfunding</h1>
<img id="tentacles" src="assets/tentacles.png" />
<h1 class="header-text">Sea Monster Crowdfunding</h1>
</div>

<!-- background info about company -->
<h2>Welcome to Sea Monster!</h2>
<div id="description-container">
<p>The purpose of our company is to fund independent games. We've been in operation for 12 years.</p>
<p>
The purpose of our company is to fund independent games. We've been in
operation for 12 years.
</p>
</div>

<!-- carasol of games -->
<h2>Games</h2>
<div id="carousel-container" class="carousel-container"></div>

<!-- top games & other interesting stats -->
<h2>Stats</h2>
<div class="stats-container">
<div class="stats-card">
<h3>Individual Contributions</h3>
<p id="num-contributions">
</p>
</div>
<div class="stats-card">
<h3>Total Raised</h3>
<p id="total-raised">
</p>
</div>
<div class="stats-card">
<h3>Total Number of Games</h3>
<p id="num-games">
</p>
</div>
<div class="stats-card">
<h3>Individual Contributions</h3>
<p id="num-contributions"></p>
</div>
<div class="stats-card">
<h3>Total Raised</h3>
<p id="total-raised"></p>
</div>
<div class="stats-card">
<h3>Total Number of Games</h3>
<p id="num-games"></p>
</div>
</div>
<div class="stats-container" id="top-games">
<div class="stats-card" id="first-game">
<h3>🥇 Top Funded Game</h3>
</div>
<div class="stats-card" id="second-game">
<h3>🥈 Runner Up</h3>
</div>
<div class="stats-card" id="first-game">
<h3>🥇 Top Funded Game</h3>
</div>
<div class="stats-card" id="second-game">
<h3>🥈 Runner Up</h3>
</div>
</div>

<!-- list of games funded by Sea Monster -->
<h2>Our Games</h2>
<p>Check out each of our games below!</p>
<div id="button-container">
<button id="unfunded-btn">Show Unfunded Only</button>
<button id="funded-btn">Show Funded Only</button>
<button id="all-btn">Show All Games</button>
</div>
<div id="games-container">

<button id="unfunded-btn">Show Unfunded Only</button>
<button id="funded-btn">Show Funded Only</button>
<button id="all-btn">Show All Games</button>
</div>
<div id="games-container"></div>

<script type="module" src="index.js"></script>
</body>
</html>
</html>
Loading