diff --git a/contact.html b/contact.html new file mode 100644 index 0000000..f070fc0 --- /dev/null +++ b/contact.html @@ -0,0 +1,19 @@ + + + + + + + + + + Sr Izan's Website + + + + + + + \ No newline at end of file diff --git a/content/background/bliss.jpg b/content/background/bliss.jpg new file mode 100644 index 0000000..bd4ce44 Binary files /dev/null and b/content/background/bliss.jpg differ diff --git a/content/background/bridge.jpg b/content/background/bridge.jpg new file mode 100644 index 0000000..5f4d6f6 Binary files /dev/null and b/content/background/bridge.jpg differ diff --git a/content/background/connections.png b/content/background/connections.png new file mode 100644 index 0000000..132604b Binary files /dev/null and b/content/background/connections.png differ diff --git a/content/background/debian.svg b/content/background/debian.svg new file mode 100644 index 0000000..4099e23 --- /dev/null +++ b/content/background/debian.svg @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/background/forest.jpg b/content/background/forest.jpg new file mode 100644 index 0000000..ccf2c64 Binary files /dev/null and b/content/background/forest.jpg differ diff --git a/content/background/lookdown.jpg b/content/background/lookdown.jpg new file mode 100644 index 0000000..015c3a3 Binary files /dev/null and b/content/background/lookdown.jpg differ diff --git a/content/background/macos.jpg b/content/background/macos.jpg new file mode 100644 index 0000000..bbeef97 Binary files /dev/null and b/content/background/macos.jpg differ diff --git a/content/background/mountain.jpg b/content/background/mountain.jpg new file mode 100644 index 0000000..7435b4f Binary files /dev/null and b/content/background/mountain.jpg differ diff --git a/content/background/waterfall.jpg b/content/background/waterfall.jpg new file mode 100644 index 0000000..1471005 Binary files /dev/null and b/content/background/waterfall.jpg differ diff --git a/content/background/windows95setup.png b/content/background/windows95setup.png new file mode 100644 index 0000000..4e8197c Binary files /dev/null and b/content/background/windows95setup.png differ diff --git a/index.html b/index.html index a3e9362..f6cddf8 100755 --- a/index.html +++ b/index.html @@ -14,6 +14,30 @@ var element = document.body; element.classList.toggle("dark-mode"); } + function randomImage(){ + var images = [ + 'content/background/bliss.jpg', + 'content/background/bridge.jpg', + 'content/background/connections.jpg', + 'content/background/debian.svg', + 'content/background/forest.jpg', + 'content/background/lookdown.jpg', + 'content/background/macos.jpg', + 'content/background/mountain.jpg', + 'content/background/waterfall.jpg', + 'content/background/windows95setup.jpg']; + var size = images.length; + var x = Math.floor(size * Math.random()); + console.log(x); + var element = document.getElementsByClassName('home-intro'); + document.getElementById("homeintro").style.height="1000px"; + //document.getElementById("homeintro").style.backgroundImage = + //"url("+images[x] +")"; + // } + console.log(element); + element[0].style["background-image"] = "url("+ images[x] + ") no-repeat;"; +} +document.addEventListener("DOMContentLoaded", randomImage); - +
+

Contact me

Sr Izan's Website.