Skip to content

Commit

Permalink
img links replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
code-reaper08 committed May 25, 2021
1 parent d89156a commit 83ed1f8
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 7 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<link rel="shortcut icon" type="image/jpg" href="../img/favicon/text861.png"/>
<link rel="shortcut icon" type="image/jpg" href="./text861.png"/>
</head>

<body id="body" style="user-select: none;">
<!-- nav starting -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#"> <img src="../img/assets/logo.png" alt="G-Card" width="50px" height="50px"></a>
<a class="navbar-brand" href="#"> <img src="./logo.png" alt="G-Card" width="50px" height="50px"></a>
<button
class="navbar-toggler"
type="button"
Expand Down
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async function dta() {
console.log(totalstars);
let staricon = document.createElement("img");
staricon.src =
"./img/star.png";
"./star.png";
staricon.alt = "Total stars";
staricon.className = "staricon";
stardiv.appendChild(stariconcontainerdiv);
Expand Down Expand Up @@ -300,18 +300,18 @@ document.getElementById("theme").onclick = function themetoggle () {

// all theme changing functions....
function theme1() {
element.style.backgroundImage = "url('../img/Bullseye-Gradient.png')";
element.style.backgroundImage = "url('./Bullseye-Gradient.png')";
// document.body.style.backgroundImage = "url('img_tree.png')";
element.style.transition = "ease 2s"

}
function theme2(){
element.style.backgroundImage = "url('../img/Protruding-Squares.png')";
element.style.backgroundImage = "url('./Protruding-Squares.png')";
element.style.transition = "ease 2s"

}
function theme3(){
element.style.backgroundImage = "url('../img/Geometric-Intersection.png')";
element.style.backgroundImage = "url('./Geometric-Intersection.png')";
element.style.transition = "ease 2s"
}
function theme4(){
Expand Down
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ body {
}
#maindiv {
background-color: #000000;
background-image: url("../img/Cornered-Stairs.png"); /* local url */
background-image: url("./Cornered-Stairs.png"); /* local url */
background-attachment: fixed;
background-size: cover;
display: none;
Expand Down
File renamed without changes

0 comments on commit 83ed1f8

Please sign in to comment.