Skip to content

Commit

Permalink
meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Kokomi000 committed Jan 9, 2024
1 parent 9064bb5 commit 6427aea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var WinnerChempionID = Math.floor(Math.random() * Object.keys(ChampionsList).len
for(var ID = 0; ID < Object.keys(ChampionsList).length; ID++){
ChampionsListDiv.innerHTML +=
`<div id="Chempion${ID}">
<img src="Assets/Champions/${ChampionsList[ID].Icon}">
<img alt="${ChampionsList[ID].Name}" src="Assets/Champions/${ChampionsList[ID].Icon}">
</div>`;

setTimeout(AddEventClick, 100, ID);
Expand All @@ -47,7 +47,7 @@ async function CheckIfChempionIsWinnerChempion(ElementPointer){
{
WinnerDiv.style.display = "grid";
WinnerDiv.innerHTML =
`<div><img src="Assets/Champions/${ChampionsList[ID].Icon}"></br>
`<div><img alt="${ChampionsList[ID].Name}" src="Assets/Champions/${ChampionsList[ID].Icon}"></br>
Congrats, You guessed at ${TryCount} time. That was ${ChampionsList[ID].Name} 💖</br>
<button onclick="document.location = 'index.html'">Play Again</button></div>`;
return 0;
Expand All @@ -70,7 +70,7 @@ async function CompareAttribs(ID){
var Rarity = Row.insertCell(3);
var Release = Row.insertCell(4);
var Family = Row.insertCell(5);
Icon.innerHTML = `<img class="TableIcon" src="Assets/Champions/${ChampionsList[ID].Icon}">`;
Icon.innerHTML = `<img alt="${ChampionsList[ID].Name}" class="TableIcon" src="Assets/Champions/${ChampionsList[ID].Icon}">`;
Gender.innerHTML = ChampionsList[ID].Gender
Role.innerHTML = ChampionsList[ID].Role
Rarity.innerHTML = ChampionsList[ID].Rarity
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<meta property="twitter:image" content="https://raw.githubusercontent.com/kokomichrzan/Brawdle/WebSite/Assets/ogImage.jpg#keepProtocol" />
<meta property="twitter:card" content="summary_large_image" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Kokomichrzan">
<meta name="description" content="BrawlStars Champion Guess Game">
<meta name="keywords" content="Game, Guess, Quizz, Brawlstars, Brawdle, Brawler, Champion, Guess Champion, js, javascript, github, github page, website, fun, fun game, brawdle, program, brawlstars, brawl stars, braw dle, brawler, zadymiarz, Guess a brawler, Zgadnij jaki to zadymiarz">

<link rel="stylesheet" href="index.css">
<link rel="shortcut icon" href="Assets/Icon.png" type="image/x-icon">
Expand Down

0 comments on commit 6427aea

Please sign in to comment.