From e2b83b1a4911a850c39dab80a11708a28450aac3 Mon Sep 17 00:00:00 2001 From: ReznoRMichael Date: Mon, 21 Jun 2021 15:49:00 +0200 Subject: [PATCH] comments --- src/js/page-functions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/page-functions.js b/src/js/page-functions.js index 500431f..9417166 100644 --- a/src/js/page-functions.js +++ b/src/js/page-functions.js @@ -148,9 +148,10 @@ function GenerateInnerHTML(hkdb) { for (let section in sections) { - /* creates a h2 tag for the current section and fills with current%/max% */ + /* creates a

tag for the current section and fills with current%/max% */ textFill = CompletionFill(sections[section]); + /* create all main entries */ switch (section) { case "intro": @@ -161,10 +162,12 @@ function GenerateInnerHTML(hkdb) { default: } + /* Cumulate all texts into one variable for final HTML filling */ finalHTMLFill += textFill; } + /* Final HTML Fill here */ console.log(finalHTMLFill); }