Last Revised: Oct 20, 2022, 11:00 pm
<html> <body> <head> <title> <link> <script> <p> <h1> <h2> <label> <button> <textarea> <img> <a> <ul> <ol> <li> <table> <tr> <th> <td> <input> <select> <option>
color background-color font-family font-size font-weight font-style width height display visibility
text (default) number button checkbox radio password range file date
class else false for function if let new null return this true typeof var while
boolean number object string undefined
Arithmetic: + - * / % Comparison: == === < <= > >= != !== Logical: && || ! Assignment: = += -= *= /= %= Elvis: ? : Miscellaneous: . [ ] ( ) typeof new
concat pop push shift slice splice toString unshift
charAt concat indexOf lastIndexOf repeat split startsWith substr substring toLowerCase toUpperCase trim valueOf
abs ceil floor max min random round
Constructor calls: var d = new Date( ); var d = new Date(2021, 3, 2); var d = new Date(2021, 3, 2, 20, 43, 51); Getter methods: getYear getMonth getDate getHours getMinutes getSeconds getTime
JSON.stringify JSON.parse
getElementById getElementsByClass getElementsByName getElementsByTagName querySelector querySelectorAll createElement appendChild removeChild
innerHTML nodeName style value
blur change click dblclick focus load mousedown mouseenter mouseleave mousemove mouseup Event Object
Examples: htmlElement.addEventListener("click", eventListener); htmlElement.onclick = eventListener;