Skip to content

Commit

Permalink
adding a favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
n-c0de-r committed Dec 20, 2021
1 parent f7082bb commit 5107581
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Binary file added assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ function fillNavbar(){
+ "<a href=\"#\" id=\"zelda\">Zelda API</a>\n"
+ "<a href=\"../subpages/211217_TicTacToe_project.html\" id=\"ttt\">Tic Tac Toe</a>\n"
+ "<a href=\"../subpages/211217_StopTheVirus_project.html\" id=\"virus\">Stop The Virus</a>\n";
let head =document.getElementsByTagName("head")[0];
head.innerHTML += "<link rel=\"icon\" type=\"image/png\" href=\"../assets/favicon.png\" sizes=\"400x400\"></link>";
}
2 changes: 2 additions & 0 deletions subpages/211217_API_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<a href="https://www.theaudiodb.com">
<img src="../assets/211217_AudioDG_image.png" class="image-AudioDB" id="image-AudioDB">
</a>
<p>Type the name of an artist you want to search in the database. For now, you'll get a link to the artist's website. Hopefully, it will deliver more information from the database in well structured HTML elements, fitting CSS styling made via JavaScript.</p>
<p>That means, I need to come up with a good design and that takes a bit of time.</p>
<div class="searchDiv" id="searchDiv">
<input class="search input" id="search-input" placeholder="&#x1F50D Search" />
<button class="search button" id="search-button" onclick="search()">Find</button>
Expand Down

0 comments on commit 5107581

Please # to comment.