diff --git a/computer-science-blog/scripts/scripts.js b/computer-science-blog/scripts/scripts.js
index ee6e751..12c1d99 100644
--- a/computer-science-blog/scripts/scripts.js
+++ b/computer-science-blog/scripts/scripts.js
@@ -46,25 +46,25 @@ window.onload = function() {
$.get("pages/" + item + ".html", function(content) {
if (index == 0) {
$("#http_presentation .carousel-inner").append('
' + content + '
');
- $("#http_presentation .carousel-indicators").append('')
+ $("#http_presentation .carousel-indicators").append('')
} else {
$("#http_presentation .carousel-inner").append('' + content + '
');
- $("#http_presentation .carousel-indicators").append('')
+ $("#http_presentation .carousel-indicators").append('')
}
});
});
-
+
// define variables for HTML presentation pages
- html_pages = ["page"];
+ html_pages = ["html", "css", "js"];
// displays HTML presentation pages
html_pages.forEach(function(item, index) {
$.get("pages/" + item + ".html", function(content) {
if (index == 0) {
$("#html_presentation .carousel-inner").append('' + content + '
');
- $("#html_presentation .carousel-indicators").append('')
+ $("#html_presentation .carousel-indicators").append('')
} else {
$("#html_presentation .carousel-inner").append('' + content + '
');
- $("#html_presentation .carousel-indicators").append('')
+ $("#html_presentation .carousel-indicators").append('')
}
});
});