Embed code in the LMS

Hi, I try to embed the code for the repl project in the NEO LMS using HTML. But the outcome becomes weird with twitching here and there. Can someone advise on the issue? Here is an example.