{"size": 347, "ext": "js", "max_stars_repo_path": "scripts/buildCard.js", "max_stars_repo_name": "eqznava/final_fantasy_asinc", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scripts/buildCard.js", "max_issues_repo_name": "eqznava/final_fantasy_asinc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scripts/buildCard.js", "max_forks_repo_name": "eqznava/final_fantasy_asinc", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 43.375, "max_line_length": 78, "alphanum_fraction": 0.4956772334}
export function buildCard(minions) {
    const card = document.createElement('article');
    card.innerHTML = `<h1>${minions.name}</h1>
                            <h2>${minions.race.name}</h2>
                            <img src="${minions.image}" alt="${minions.name}">
                            <p>${minions.tooltip}</p>`;
    return card;
}