diff --git a/countdown.js b/countdown.js
new file mode 100644
index 0000000..882ce36
--- /dev/null
+++ b/countdown.js
@@ -0,0 +1,13 @@
+// countdown.js - Odštevalnik časa do projektnega tedna
+// (c) Kristjan Komlosi 2018
+window.onload = () => {
+ if (new Date('2018-10-15') < new Date()) {
+ document.getElementById('countdown').innerHTML = ''
+ }
+ var days = new Date(new Date('2018-10-15') - new Date()).getDate();
+ if (days === 1) {
+ document.getElementById('countdown').innerHTML = 'Jutri!
';
+ } else if (days > 1) {
+ document.getElementById('days-left').innerHTML = days.toString();
+ }
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index f3304bc..1fa225a 100644
--- a/index.html
+++ b/index.html
@@ -4,21 +4,54 @@
-
+
+
+
+
+
+
-