Skip to content

Commit 66791a0

Browse files
Fix HTML structure and update meta tags
1 parent 240138f commit 66791a0

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

Form-Controls/index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8" />
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<title>My form exercise</title>
7-
<meta name="description" content="" />
8-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="description" content="">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
99
</head>
1010
<body>
1111
<header>
@@ -14,14 +14,13 @@ <h1>Product Pick</h1>
1414
<main>
1515
<form>
1616
<label for="user-name">Your Name:</label>
17-
<input id="user-name", type="text", pattern="[A-Za-z\s]{2,}"
18-
title="Please enter at least 2 letters. Numbers and symbols are not allowed"
19-
required> </input>
17+
<input id="user-name", type="text", pattern="[A-Za-z\s]{2,}" title="Please enter at least 2 letters. Numbers and symbols are not allowed" required>
18+
2019

2120
<br>
2221

2322
<label for="email">Your Email:</label>
24-
<input id="email" type="email" required> </input>
23+
<input id="email" type="email" required>
2524
<button id="go"> Go
2625
</button>
2726

0 commit comments

Comments
 (0)