diff --git a/dist/steevcss.js b/dist/steevcss.js new file mode 100644 index 0000000..a8be249 --- /dev/null +++ b/dist/steevcss.js @@ -0,0 +1,25 @@ +var code = document.querySelectorAll("code"); + +// code embed +code.forEach(c => { + let code = c.innerHTML.toString(); + var output = ""; + for(let i = 0; i < code.length; i++){ + switch(code.charAt(i)){ + default: output += code.charAt(i); break; + case ">": output += ">"; break; + case "<": output += "<"; break; + case "&": output += "&"; break; + case "\"": output += """; break; + } + } + 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 +// ------------------------------------- \ No newline at end of file