Right now you can type anything for language, you could make a dropdown menu for language to control what users put in.
All text is accepted for the code but I noticed you used a library for the styling, is there a way to use that to check that the user has actually typed in valid code (whether it's correct or not)?