Skip to content

Commit

Permalink
fix(advanced-1.1): correct h3 to h2 according to title hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
LesiaUKR committed Jan 8, 2024
1 parent 538f6a1 commit 1f8c8d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="visually-hidden">Todo list App</h1>
</header>
<main class="main_wrapper">
<section class="task_section add_section">
<h3 class="task_section-title add_section-title">Add Item</h3>
<h2 class="task_section-title add_section-title">Add Item</h2>
<div class="task_section-wrapper">
<input
class="task_section-input input_new-task"
Expand All @@ -37,7 +37,7 @@ <h3 class="task_section-title add_section-title">Add Item</h3>
</div>
</section>
<section class="task_section">
<h3 class="task_section-title">Todo</h3>
<h2 class="task_section-title">Todo</h2>
<ul class="task_list" id="incompleted-tasks">
<li class="task_item">
<input class="task_item-checkbox" type="checkBox" />
Expand All @@ -60,7 +60,7 @@ <h3 class="task_section-title">Todo</h3>
</ul>
</section>
<section class="task_section">
<h3 class="task_section-title">Completed</h3>
<h2 class="task_section-title">Completed</h2>
<ul class="task_list" id="completed-tasks">
<li class="task_item">
<input type="checkbox" checked />
Expand Down
8 changes: 4 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ button {
outline: none;
}

.visually-hidden {
display: none;
}

.header {
width: 500px;
margin: 0 auto;
Expand All @@ -40,10 +44,6 @@ button {
}
}

.visually-hidden {
display: none;
}

.main_wrapper {
display: block;
width: 500px;
Expand Down

0 comments on commit 1f8c8d3

Please sign in to comment.