how to find checkbox is checked or not in javascript code example Example: html checkbox status app.innerHTML = '<h1>Hello, world!</h1>';