diff --git a/source/developers/frontend_creating_custom_ui.markdown b/source/developers/frontend_creating_custom_ui.markdown
index d28623e8da1..3012f43e60f 100644
--- a/source/developers/frontend_creating_custom_ui.markdown
+++ b/source/developers/frontend_creating_custom_ui.markdown
@@ -42,7 +42,22 @@ frontend:
`www/custom_ui/state-card-my-custom-light.html`:
-```javascript
+```html
+