-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts.js
24 lines (20 loc) · 1.37 KB
/
scripts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
window.onload = function(){
var currentYear = new Date().getFullYear();
document.getElementById("copyright").innerHTML = "Copyright © " + currentYear + " Jakub Świniarski. All rights reserved."
};
document.getElementById("about_me").addEventListener("click", function() {
document.getElementById("info-header").innerHTML ="About me"
document.getElementById("info").innerHTML ="Nationality: 🇵🇱 <br/> Hobbies: 💻 🚲 🏸";
});
document.getElementById("education").addEventListener("click", function() {
document.getElementById("info-header").innerHTML ="Education"
document.getElementById("info").innerHTML ="High school: II LO Sieradz <br/> I study math and physics at the extended level and English at the bilingual level.";
});
document.getElementById("skills").addEventListener("click", function() {
document.getElementById("info-header").innerHTML ="Skills"
document.getElementById("info").innerHTML ="C/C++ <br/> Python <br/> Java <br/> HTML <br/> CSS <br/> JavaScript";
});
document.getElementById("quotes").addEventListener("click", function() {
document.getElementById("info-header").innerHTML ="Quotes"
document.getElementById("info").innerHTML ="<q>Any program is only as good as it is useful.</q> <br/> —Linus Torvalds <br/> <br/> <q>An idiot admires complexity, a genius admires simplicity.</q> <br/> —Terry A. Davis";
});