Skip to content

Commit

Permalink
modified: dogImg.html
Browse files Browse the repository at this point in the history
        new file:   favicon.ico
        new file:   hole_logo.png
        modified:   index.html
        modified:   qrcode.html
        modified:   style.css
  • Loading branch information
AniruddhaAdak committed Apr 27, 2024
1 parent ff62a69 commit 26f3a1b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dogImg.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</head>
<body>
<a href="./index.html">
<button>Home</button>
<button>🏠Home</button>
</a>

<h1>Get Random Dogs 🐶 Picture ⬇️</h1>
Expand All @@ -73,14 +73,14 @@ <h1>Get Random Dogs 🐶 Picture ⬇️</h1>
//display image inside img tag
dogImg.src = result.url;

// console.log(result);
//console.log(result);
};

//generate A dog image when User click on button
getDogBtn.addEventListener("click", generateDogImage);

//Random Dog Image after Specific Interval(here 9 seconds)
setInterval(generateDogImage,9000);
setInterval(generateDogImage, 9000);

//generateDogImage();
</script>
Expand Down
Binary file added favicon.ico
Binary file not shown.
Binary file added hole_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@
/>

<link rel="stylesheet" href="style.css" />
<link rel="icon" type="image/x-icon" href="./favicon.ico">
</head>
<body>
<!-- links for different page -->
<header>
<!-- for home logo -->
<a href="./index.html">
<img align="left" id="home_logo" src="./hole_logo.png" alt="">
</a>

<a href="./jokes.html"><button class="color-chng-btns">Jokes</button></a>

<a href="./advice.html"
Expand Down
2 changes: 1 addition & 1 deletion qrcode.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<body>
<nav>
<a href="./index.html">
<button class="btn btn-warning m-3 btn-lg text-info">Home</button>
<button class="btn btn-warning m-3 btn-lg text-info">🏠Home</button>
</a>
</nav>

Expand Down
11 changes: 9 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
border-radius: 5px;
user-select: none;
overflow: auto;

}

hr {
Expand All @@ -19,7 +18,7 @@ input {
}

button {
font-size:larger;
font-size: larger;
color: aliceblue;
background-color: rgb(0, 0, 0);
border-radius: 10px;
Expand All @@ -28,3 +27,11 @@ button {
margin: 4px;
padding: 6px;
}

#home_logo {
margin: 0%;
height: 100px;
width: 100px;
border: 3px solid rgb(41, 214, 41);
border-radius: 50%;
}

0 comments on commit 26f3a1b

Please sign in to comment.