you will use the following code snippets to START exploring javascript:
<!DOCTYPE html><html><body><h1>A javascript example</h1><pid="demo1">JavaScript can change content inside a defined ID or even CLASS.</p><buttontype="button"onclick="document.getElementById('demo1').innerHTML = 'I love computer science!'">Click Me!</button></body></html>