Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function main(el) {
let {value} = state()
html`<${el}>
Please enter an email address:
<input name="email"> state({value: e.target.value})}/>
The address is ${isValidEmail(value)}
`
}