<!DOCTYPE html>
<html lang="pt-BR">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/style.css" rel="stylesheet">  
        <title>Pokedex</title>
    </head>
    <body>
        <%- include('./partials/header.ejs') %>
        <main>
            <section id="cards">
            <% pokedex.forEach((element) => { %>
                <a href="/details/<%= element.id %>">
                    <div class="card">
                        <img class="image" src="<%= element.image %>" alt="">
                        <h2 class="info"><%= element.name %></h2>
                        <p class="info"><%= element.type %></p>  
                        <!-- <p><%= element.description %></p> 
                        <p><%= element.height %></p> 
                        <p><%= element.weight %></p> 
                        <p><%= element.category %></p> 
                        <p><%= element.abilities %></p>  -->
                    </div>
                </a>
            <% }) %>   
            </section> 
        </main>
        <%- include('./partials/footer.ejs') %>
    </body>
</html>