We will work through very basic examples of javascript events using these examples.
you will be exposed to bootstrap
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>
<!DOCTYPE html><html><body><p>This example demonstrates how to assign an "onmouseover" and "onmouseout" event to a h1 element.</p><h1id="demo"onmouseover="mouseOver()"onmouseout="mouseOut()">Mouse over me</h1><script>functionmouseOver(){document.getElementById("demo").style.color="red";}functionmouseOut(){document.getElementById("demo").style.color="black";}</script></body></html>