Section id html-questions

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
   <meta charset="UTF-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <meta name="description" content="freeCodeCamp Accessibility Quiz practice project" />
   <title>Accessibility Quiz</title>
   <link rel="stylesheet" href="styles.css" />
     <img id="logo" src="">
     <h1>HTML/CSS Quiz</h1>
     <form method="post" action="">
       <section aria-labelledby="student-info" id="student-info"  role="region"><h2 id="student-info">Student Info</h2></section>
       <section aria-labelledby="html-questions" role="region" id="html-questions"><h2>Html Questions</h2></section>
       <section aria-labelledby="css-questions" role="region" id="css-questions"><h2>Css Questions</h2></section>

/* file: styles.css */
body {
 background: #f5f6f7;
	color: #1b1b32;
	font-family: Helvetica;
	margin: 0;

header {
 width: 100%;
	height: 50px;
	background-color: #1b1b32;
	display: flex;

#logo {
 width: max(100px, 18vw);
	background-color: #0a0a23;
 aspect-ratio: 35 / 4;
	padding: 0.4rem;

h1 {
 color: #f1be32;
	font-size: min(5vw, 1.2em);

nav {
	width: 50%;
	max-width: 300px;
	height: 50px;

nav > ul {
	display: flex;
	justify-content: space-evenly;
   **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Safari/537.36

Challenge: Step 16

Link to the challenge:

in the tag ı have typed the id as ordered but it doesnt work. I mean
id=“html-questions” but it asks it again.

“Then, within each section element, nest one h2 element with an id matching the corresponding aria-labelledby attribute.”

You didn’t do this for the last two h2s:

<h2>Html Questions</h2>
<h2>Css Questions</h2>

These don’t have ids that match the aria-labelledby value.

ı have reset the codes .there isn’t any problem yet. Thanks a lot

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.