Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperKeshavKumar committed Apr 11, 2024
0 parents commit 14b3b77
Show file tree
Hide file tree
Showing 17 changed files with 1,160 additions and 0 deletions.
18 changes: 18 additions & 0 deletions assets/back-to-home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/chevron_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/chevron_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/height.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/pokeball.ico
Binary file not shown.
18 changes: 18 additions & 0 deletions assets/pokeball.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/pokedex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/sorting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/weight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions detail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pokemon Detail</title>
<link rel="stylesheet" href="style.css" />
<script src="./pokemon-detail.js" defer></script>
</head>
<body>
<main class="detail-main main">
<header class="header">
<div class="header-wrapper">
<div class="header-wrap">
<a href="./index.html" class="back-btn-wrap">
<img
src="./assets/back-to-home.svg"
alt="back to home"
class="back-btn"
id="back-btn"
/>
</a>
<div class="name-wrap">
<h1 class="name"></h1>
</div>
</div>
<div class="pokemon-id-wrap">
<p class="body2-fonts"></p>
</div>
</div>
</header>
<div class="featured-img">
<a href="#" class="arrow left-arrow" id="leftArrow">
<img src="./assets/chevron_left.svg" alt="back" />
</a>
<div class="detail-img-wrapper">
<img src="" alt="" />
</div>
<a href="#" class="arrow right-arrow" id="rightArrow">
<img src="./assets/chevron_right.svg" alt="forward" />
</a>
</div>
<div class="detail-card-detail-wrapper">
<div class="power-wrapper">
<p class="body3-fonts type grass"></p>
<p class="body3-fonts type poison"></p>
</div>
<p class="body2-fonts about-text">About</p>
<div class="pokemon-detail-wrapper">
<div class="pokemon-detail-wrap">
<div class="pokemon-detail">
<img src="./assets/weight.svg" alt="weight" />
<p class="body3-fonts weight"></p>
</div>
<p class="caption-fonts">Weight</p>
</div>
<div class="pokemon-detail-wrap">
<div class="pokemon-detail">
<img src="./assets/height.svg" alt="height" class="straighten" />
<p class="body3-fonts height"></p>
</div>
<p class="caption-fonts">Height</p>
</div>
<div class="pokemon-detail-wrap">
<div class="pokemon-detail move"></div>
<p class="caption-fonts">Move</p>
</div>
</div>
<p class="body3-fonts pokemon-description"></p>
<p class="body2-fonts about-text">Base Stats</p>
<div class="stats-wrapper">
<div class="stats-wrap" data-stat="hp">
<p class="body3-fonts stats">HP</p>
<p class="body3-fonts"></p>
<progress value="" max="100" class="progress-bar"></progress>
</div>
<div class="stats-wrap" data-stat="ATK">
<p class="body3-fonts stats">ATK</p>
<p class="body3-fonts"></p>
<progress value="" max="100" class="progress-bar"></progress>
</div>
<div class="stats-wrap" data-stat="DEF">
<p class="body3-fonts stats">DEF</p>
<p class="body3-fonts"></p>
<progress value="" max="100" class="progress-bar"></progress>
</div>
<div class="stats-wrap" data-stat="SATK">
<p class="body3-fonts stats">SATK</p>
<p class="body3-fonts"></p>
<progress value="" max="100" class="progress-bar"></progress>
</div>
</div>
</div>
<img src="./assets/pokedex.svg" alt="pokedex" class="detail-bg" />
</main>
</body>
</html>
62 changes: 62 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pokedex</title>
<link rel="shortcut icon" href="./assets/pokeball.ico" type="image/x-icon">
<link rel="stylesheet" href="style.css" />
<script src="./pokemon.js" defer></script>
<script src="./search.js" defer></script>
</head>

<body>
<main class="main">
<header class="header home">
<div class="container">
<div class="logo-wrapper">
<img src="./assets/pokeball.svg" alt="pokeball" />
<h1>Pokedex</h1>
</div>
<div class="search-wrapper">
<div class="search-wrap">
<img src="./assets/search.svg" alt="search icon" class="search-icon" />
<input type="text" class="search-input body3-fonts" placeholder="Search" id="search-input" />
<img src="./assets/cross.svg" alt="cross icon" class="search-close-icon" id="search-close-icon" />
</div>
<div class="sort-wrapper">
<div class="sort-wrap">
<img src="./assets/sorting.svg" alt="sorting" class="sort-icon" id="sort-icon" />
</div>
<div class="filter-wrapper">
<p class="body2-fonts">Sort by:</p>
<div class="filter-wrap">
<div>
<input type="radio" id="number" name="filters" value="number" checked />
<label for="number" class="body3-fonts">Number</label>
</div>
<div>
<input type="radio" id="name" name="filters" value="name" />
<label for="name" class="body3-fonts">Name</label>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<section class="pokemon-list">
<div class="container">
<div class="list-wrapper"></div>
</div>
<div id="not-found-message">Pokemon not found</div>
</section>

<footer>
<div class="footer">Created with 🤍 by <a href="https://github.com/developerkeshavkumar">Keshav Kumar</a></div>
</footer>
</main>
</body>

</html>
Loading

0 comments on commit 14b3b77

Please sign in to comment.