Here is the link to my project so far: https://codepen.io/LeviathanProgramming/pen/yLVewLO?editors=0010
I've got autocomplete and emmet enables, but I don't know how to enable error parsing like khan academy's editor.
I've searched stackoverflow, but couldn't find a solution so far. Please hurry and help if you can! I have to enter it into a hackathon due in two days!