Skip to content

Commit

Permalink
[IMP] new name and remove parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanSForgeFlow committed May 11, 2023
1 parent 3c8f825 commit 20617d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ function renderPokemonIndex(pokemons: Array<Pokemon>): string {
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pokédex</title>
<title>PokeQuickDex</title>
<link rel="stylesheet" href="css/styles.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5418523060607609"
crossorigin="anonymous"></script>
<link rel="canonical" href="https://pokequickdex.vercel.app" />
<script defer src="/_vercel/insights/script.js"></script>
</head>
<body>
<h1>Pokédex</h1>
<h1>Poke Quick Dex</h1>
<div class="search-filter-container">
<input type="text" id="search-input" class="search-input" placeholder="Search Pokémon..." />
<select id="type-select" class="type-select">
Expand Down Expand Up @@ -162,7 +162,7 @@ function renderPokemonIndex(pokemons: Array<Pokemon>): string {
<html>
${head(pokemon.name)}
<body>
<h1>${pokemon.name.charAt(0).toUpperCase() + pokemon.name.slice(1)} <span class="pokemon-id">(#${String(pokemon.id).padStart(4, '0')})</span></h1>
<h1>${pokemon.name.charAt(0).toUpperCase() + pokemon.name.slice(1)} <span class="pokemon-id">#${String(pokemon.id).padStart(4, '0')}</span></h1>
<h2 class="section-title">Pokédex Description</h2>
<p class="description">${pokemon.pokedexDescription}</p>
<div class="pokemon-container">
Expand Down

0 comments on commit 20617d2

Please sign in to comment.