How to use innerHTML?

Title ^

I’ve wanted to use innerHTML in App Lab multiple times for projects as I believe there are great uses for it, but can’t figure out how it works. It’s not listed in’s documentation here. Any way to get this to work, or is it just a broken feature that they was planning to implement?

Hi @letti42 !

WebLab is primarily a tool for learning HTML and CSS and doesn’t support javascript.

If you’re looking to play around with javascript and innerHTML, I recommend using Glitch or CodePen or another online web editor to create your projects.

Just re-read your post and realized your asking about AppLab and not Web Lab - so sorry! I read HTML a little too quickly and jumped to a conclusion.

The answer is similar - we don’t support innerHTML in App Lab - But: the write command basically does the same thing. For some of the uses you’re imagining, I wonder if write will work instead?

Hope that helps!
Dan - Curriculum Writer