added content

This commit is contained in:
2021-03-09 10:36:51 +01:00
parent 532d157d97
commit e38d027c0f
6 changed files with 146 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
var code = document.querySelectorAll("code");
// code embed
code.forEach(c => {
let code = c.innerHTML.toString();
var output = "";
@@ -13,4 +14,12 @@ code.forEach(c => {
}
}
c.innerHTML = output;
})
});
// TODO JavaScript Input value return
// Current way..
// -------------------------------------
// get input by getting the input object
// catch oninput event inside a function
// Handle it inside the function
// -------------------------------------