Edit HTML, CSS and Javascript
Back to article
HTML
This is a warning!
This is a message
CSS
.warning { color: red; }
Javascript
// Change the next line and watch the preview change var new_text = 'This text was added by js' var js_element = document.getElementById('js_content') js_element.innerHTML = new_text
Preview