Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<style>
.red {
border: 3px solid red;
}
.green {
border: 3px solid green;
}
</style>
<form>
<input class=red required>
<input class=red required>
<input class=green>
<button>submit</button>
</form>
<script>
document.querySelector('button').click();
</script>