MCPcopy
hub / github.com/bradtraversy/vanillawebprojects / showSuccess

Function showSuccess

form-validator/script.js:16–19  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

14
15// Show success outline
16function showSuccess(input) {
17 const formControl = input.parentElement;
18 formControl.className = 'form-control success';
19}
20
21// Check email is valid
22function checkEmail(input) {

Callers 3

checkEmailFunction · 0.85
checkRequiredFunction · 0.85
checkLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected