diff --git a/index.html b/index.html index 7499630..c9b5fce 100644 --- a/index.html +++ b/index.html @@ -82,7 +82,7 @@
- + Bitmoji
@@ -92,7 +92,7 @@

Hi, my name is Michi von Ah and I'm loading... years old. I'm interested in smartphones, computers and electromobility (mainly Tesla). In my free time I like to be on the computer and program something (for example this website), go for a walk or bake a cake. I also like to listen to music and podcasts. Besides, I'm an Apple fan and would love to have a Tesla someday. This is my website and here you can find some stuff I created. Good Luck!

-

Funfact: This website consists of a total of just over 1′646 lines of code.

+

Funfact: This website consists of a total of just over 1′760 lines of code.

@@ -103,7 +103,7 @@
- + Michi von Ah
@@ -144,7 +144,7 @@
- + Michi
@@ -163,13 +163,21 @@
- +
+ Giswilerstock +
- - - +
+ Sachseln +
+
+ Giswilerstock +
+
+ Lugano +
@@ -182,7 +190,7 @@
- + Tweet
@@ -199,7 +207,7 @@
- + Code Snippet
@@ -210,7 +218,7 @@
  • Competence tests: HTML & CSS
  • - + LinkedIn @@ -374,8 +382,10 @@ if(localStorage.getItem('cookies') != null){ document.getElementById('cookieBanner').style.display = "none"; } - //AOS.init({disable: 'mobile'}); - AOS.init({disable: true}); + // random home img + randomHomeImg(); + AOS.init({disable: 'mobile'}); + //AOS.init({disable: true}); // hide loadingscreen document.getElementById('loadingScreen').style.display = "none"; }); @@ -534,6 +544,12 @@ window.open(whatsappUrl); } + function randomHomeImg(){ + var homeImg = document.getElementById('homeImg'); + var num = Math.floor(Math.random() * (4 - 1) + 1); + homeImg.src = "assets/bitmojis/home_" + num + ".png"; + } + function age(birthday, birthmonth, birthyear){ var birthmonth = birthmonth - 1; var ageText = document.getElementById('age');