--- id: 61435e3c0679a306c20f1acc title: Step 18 challengeType: 0 dashedName: step-18 --- # --description-- Per poter navigare dentro la pagina, dai a ogni elemento di ancoraggio un `href` corrispondente agli `id` degli elementi `h2`. # --hints-- Dovresti dare al primo elemento `a` un `href` di `#student-info`. ```js assert.equal(document.querySelectorAll('a')?.[0]?.getAttribute('href'), '#student-info'); ``` Dovresti dare al tuo secondo elemento `a` un `href` di `#html-questions`. ```js assert.equal(document.querySelectorAll('a')?.[1]?.getAttribute('href'), '#html-questions'); ``` Dovresti dare al tuo terzo elemento `a` un `href` di `#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; } ```