how to use document getelementbyid for checkbox value code example Example: html checkbox status app.innerHTML = '<h1>Hello, world!</h1>';