Skip to content

Commit 9903e13

Browse files
authored
Merge pull request #360 from ut-code/change-h2-to-h1
Changed h2 to h1 in 2-browser-apps/08-css-arrangement/_samples/exercise
2 parents 4c4c7f0 + 92d8c44 commit 9903e13

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/2-browser-apps/08-css-arrangement/_samples/exercise/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
<body>
1010
<div id="container">
1111
<div class="plan">
12-
<h2>Free</h2>
12+
<h1>Free</h1>
1313
<div class="price">無料</div>
1414
<button class="button">今すぐ始める</button>
1515
<ul class="introduction">
1616
<li>基本的な機能が使用可能</li>
1717
</ul>
1818
</div>
1919
<div class="plan">
20-
<h2>Basic</h2>
20+
<h1>Basic</h1>
2121
<div class="price">$5</div>
2222
<button class="button">今すぐ始める</button>
2323
<ul class="introduction">
@@ -26,7 +26,7 @@ <h2>Basic</h2>
2626
</ul>
2727
</div>
2828
<div class="plan">
29-
<h2>Premium</h2>
29+
<h1>Premium</h1>
3030
<div class="price">$20</div>
3131
<button class="button">今すぐ始める</button>
3232
<ul class="introduction">

docs/2-browser-apps/08-css-arrangement/_samples/exercise/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ body {
1919
box-shadow: 0 0 5px #ccc;
2020
}
2121

22+
h1 {
23+
font-size: 1.5em;
24+
}
25+
2226
.price {
2327
margin-bottom: 10px;
2428
font-weight: bold;
2529
font-size: 36px;
2630
color: #000;
2731
}
2832

29-
#container h2 {
33+
#container h1 {
3034
margin: 10px 0;
3135
font-weight: normal;
3236
}

0 commit comments

Comments
 (0)