-
I will be accepting up to one pull request per day on this project
+
diff --git a/scripts/main.js b/scripts/main.js
index d37aa23..740339c 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -39,3 +39,20 @@
document.getElementById('sidebar-toggle').style.display = 'block';
})();
+
+//---TYPEWRITER EFFECT---//
+let i = 0;
+let txt = 'I will be accepting up to one pull request per day on this project';
+let speed = 60;
+
+function typeWriter() {
+ if (i < txt.length) {
+ document.getElementById("header").innerHTML += txt.charAt(i);
+ i++;
+ setTimeout(typeWriter, speed);
+ }
+}
+
+window.onload = function () {
+ typeWriter();
+};