File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Task 20 - Form Validation</ title >
7+ < link rel ="stylesheet " href ="style.css ">
8+ </ head >
9+ < body >
10+ < div class ="container ">
11+ < h2 > Form Validation</ h2 >
12+ < form id ="myForm ">
13+ < div class ="form-control ">
14+ < label for ="name "> Name</ label >
15+ < input type ="text " id ="name " placeholder ="Enter your name ">
16+ < small class ="error "> </ small >
17+ </ div >
18+
19+ < div class ="form-control ">
20+ < label for ="email "> Email</ label >
21+ < input type ="text " id ="email " placeholder ="Enter your email ">
22+ < small class ="error "> </ small >
23+ </ div >
24+
25+ < div class ="form-control ">
26+ < label for ="password "> Password</ label >
27+ < input type ="password " id ="password " placeholder ="Enter password ">
28+ < small class ="error "> </ small >
29+ </ div >
30+
31+ < button type ="submit "> Submit</ button >
32+ < p id ="successMsg "> </ p >
33+ </ form >
34+ </ div >
35+
36+ < script src ="script.js "> </ script >
37+ </ body >
38+ </ html >
You can’t perform that action at this time.
0 commit comments