diff --git a/index.html b/index.html index a94651f..d843151 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,9 @@ - + Florian Sylvain diff --git a/script.js b/script.js index a3632a4..e8b0151 100644 --- a/script.js +++ b/script.js @@ -17,6 +17,17 @@ const projectsIDs = Array.from(projectsContentList) let lastScrollTop = window.pageYOffset; +function loadCSS() { + "use strict"; + const stylesheet = document.createElement('link'); + stylesheet.href = 'stylesheet.css'; + stylesheet.rel = 'stylesheet'; + stylesheet.type = 'text/css'; + document.querySelector('head').appendChild(stylesheet); +} + +loadCSS(); + function toAddClass(toClass, inClass) { "use strict";