Learn Accessibility by Building a Quiz - Step 46

someone should pls help me out on this. its seems I’m not getting it at all. te topic is : Learn Accessibility by Building a Quiz - Step 46

**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;

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

li > a { color: blue, }

h2 {
font-family: Verdana, Tahoma;

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

p::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;
ode so far**


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Learn Accessibility by Building a Quiz - Step 46

Link to the challenge:

Have you tried checking the hint? Please tell us what you got when you did.

Also I noticed you have a comma after the word blue. Not sure why?

The tests asked to give the anchor elements a color to something that has a contrast ration of at least 7:1.

That means that if the background is white, the color of the text should be a color that is on the opposite side of the colorwheel. In this example it would be black.

But in this case the background is more or less dark, so a lighter color should be used. You have made the anchor elements blue, but if you look at the links it is hard to see them. You have to choose a color that can make the anchor element visible to the user.


Ah, this is fantastic, I didn’t understand what this instruction meant at all, so basically it’s referring to how many ‘clicks’ round on the wheel you go, so Red would be a Cyan colour etc?

Thanks for the help!

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