--- id: 61435e3c0679a306c20f1acc title: Step 18 challengeType: 0 dashedName: step-18 --- # --description-- To be able to navigate within the page, give each anchor element an `href` corresponding to the `id` of the `h2` elements. # --hints-- You should give the first `a` element an `href` of `#student-info`. ```js assert.equal(document.querySelectorAll('a')?.[0]?.getAttribute('href'), '#student-info'); ``` You should give the second `a` element an `href` of `#html-questions`. ```js assert.equal(document.querySelectorAll('a')?.[1]?.getAttribute('href'), '#html-questions'); ``` You should give the third `a` element an `href` of `#css-questions`. ```js assert.equal(document.querySelectorAll('a')?.[2]?.getAttribute('href'), '#css-questions'); ``` # --seed-- ## --seed-contents-- ```html Accessibility Quiz

HTML/CSS Quiz

Student Info

HTML

CSS

``` ```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; } h1, h2 { font-family: Verdana, Tahoma; } h2 { border-bottom: 4px solid #dfdfe2; } ```