diff --git a/js/main.js b/js/main.js
index 4f613168a47dcddea4ab3aac2aba9db3809704f1..6ebe4da692b60f3b8336df5ca6a5ca0495aff941 100644
--- a/js/main.js
+++ b/js/main.js
@@ -4,9 +4,20 @@ $(() => {
 
 
     $('nav > ul > li > a').click(element => {
+
+        const id = element.delegateTarget.id;
+
         $('nav > ul > li > a').removeClass('selected');
-        $('nav > ul > li > a#' + element.delegateTarget.id).addClass('selected');
+        $('nav > ul > li > a#' + id).addClass('selected');
+        showSection(id);
     });
 
 
+    function showSection(sectionName) {
+        $('body > section').hide();
+        $('body > section.' + sectionName + 'Container').show();
+        console.log(sectionName);
+    }
+
+
 });
\ No newline at end of file