how to create live code editor for a website