Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

I’ve looked on Youtube, been through many forums, and looked up information regarding this on Google. All seem to tell me to do exactly what I’ve been doing already with a few minor variations here and there. Am I missing something?

My current solution: li > a {
color: #dfdfe2;
}

I’ve also looked over my previous work on my CSS file to make sure I haven’t accidentally deleted or added anything.

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

li > a {
  color: #dfdfe2;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Learn Accessibility by Building a Quiz - Step 46

please copy all the code from the css file into the post (not just the one section)

How do you do that? This is the first post I’ve made on the forums. This is just what it had sent by default.

you can copy the code with your mouse and paste it to the forum in your next reply.
To make it readable please enclose it in 3 backticks like the example below:

```
put the code in between 3 backticks
```

body {
  background: #f5f6f7;
  color: #1b1b32;
  font-family: Helvetica;
  margin: 0;
}

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

#logo {
  width: max(10rem, 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;
}

nav > ul > li {
  color: #dfdfe2;
  margin: 0 0.2rem;
  padding: 0.2rem;
  display: block;
}

li > a {
  color: white;
}

h1,
h2 {
  font-family: Verdana, Tahoma;
}

h2 {
  border-bottom: 4px solid #dfdfe2;
}

h3::before {
  content: "Question #";
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Reset” step button and force a refresh of your page with CTRL + F5 if you’re on Windows then try to paste the code in again. On other systems, please follow the instructions here.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

or - Turn off high contrast themes on Windows (from accessibility settings menu)

I hope one of these will work for you.

2 Likes

It was the high contrast settings. Thank you very much.

2 Likes