Skip to content

Commit

Permalink
Fix(JS) Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSvertoka committed Nov 7, 2023
1 parent 4818eba commit 5bb6d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function displayCatInfo(catData) {
<p><b class="primary">Description:</b> ${cat.description}</p>
<p><b class="primary">Temperament:</b> ${cat.temperament}</p>
<p><b class="primary">Country:</b> ${cat.origin}</p>
<img src="https://flagsapi.com/${cat.country_code}/shiny/64.png" alt="Country code" onerror="this.src='${noImage}'" style="width: 64px;">
<img src="https://flagsapi.com/${cat.country_code}/shiny/64.png" alt="Country code" onerror="src='${noImage}'" style="width: 64px;">
</div>
</div>
`;
Expand Down

0 comments on commit 5bb6d7f

Please sign in to comment.