0 / 60 seg.

Given the following HTML, how would you detect if the user has ticked the "terms" checkbox?

<input type="checkbox" id="terms">
const isTermsChecked = document.getElementById('terms');