Skip to content

Commit 420b6a5

Browse files
committed
add method and action to form tag
1 parent 748213c commit 420b6a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<title>My form exercise</title>
7-
<meta name="description" content="" />
7+
<meta name="description" content="Choose your preferred T-shirt color and size." />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
99
</head>
1010
<body>
1111
<header>
1212
<h1>Product Pick</h1>
1313
</header>
1414
<main>
15-
<form>
15+
<form action="" method="get">
1616
<!-- label for the name input -->
1717
<label for="name">Name:</label>
1818
<input type="text" id="name" name="name" required pattern=".*\S.*\S.*"><br><br>

0 commit comments

Comments
 (0)