AI Code isn't populating and when it does populate it won't allow me to edit

Is there a button on the keyboard that might open code in a separate box that’s reader only?

Current behavior:
I was coding and my son banged on the keyboard and now my code won’t generate a boiler template every time I type ! and when it does, it generates a box outside of the code lines and won’t let me type anything inside it. I can type on line 2 but it deletes the boiler template and breaks the code

Desired behavior
to get the boiler template to populate and allow me to add to it so I can code my web pages for a class I’m taking

Repl link:

code snippet

Hi @aprilwhitbourn , welcome to the forums!
Try pressing the TAB key to accept the Emmet abbreviation (the box appearing). Hope this helps!