Skip to content

Commit 2918f50

Browse files
author
JorvanW
committed
Removed style tags from index.html and added link to style.css.
1 parent 61ea410 commit 2918f50

2 files changed

Lines changed: 26 additions & 29 deletions

File tree

Form-Controls/index.html

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,8 @@
66
<title>My form exercise</title>
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9+
<link rel="stylesheet" href="style.css" />
910
</head>
10-
<style>
11-
body {
12-
font-family: Helvetica;
13-
font-size: 30px;
14-
}
15-
form {
16-
display: flex;
17-
flex-direction: column;
18-
gap: 10px;
19-
}
20-
input, select {
21-
font-size: 25px;
22-
}
23-
button {
24-
font-size: 25px;
25-
width: 90px;
26-
}
27-
#name {
28-
width: 500px;
29-
}
30-
#email {
31-
width: 500px;
32-
}
33-
34-
#submit {
35-
width: 150px;
36-
37-
}
38-
</style>
3911
<body>
4012
<header>
4113
<h1>T-Shirts</h1>

Form-Controls/style.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
body {
2+
font-family: Helvetica;
3+
font-size: 30px;
4+
}
5+
form {
6+
display: flex;
7+
flex-direction: column;
8+
gap: 10px;
9+
}
10+
input, select {
11+
font-size: 25px;
12+
}
13+
button {
14+
font-size: 25px;
15+
width: 90px;
16+
}
17+
#name {
18+
width: 500px;
19+
}
20+
#email {
21+
width: 500px;
22+
}
23+
#submit {
24+
width: 150px;
25+
}

0 commit comments

Comments
 (0)