Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

27 lines (22 sloc) 446 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Favorite fruit start</title>
<style>
input:invalid {
border: 2px dashed red;
}
input:valid {
border: 2px solid black;
}
</style>
</head>
<body>
<form>
<label for="choose">Would you prefer a banana or a cherry?</label>
<input id="choose" name="i_like">
<button>Submit</button>
</form>
</body>
</html>
You can’t perform that action at this time.