Potential bug, but probably just me!

I don’t know if its a bug or if I am missing an extra command. It keeps changing between telling me that I need to set the background color from #dfdfe2 to #1b1b32 when I input either into my code.
`
li > a {
color: #dfdfe2;
text-decoration:none;
}

nav > ul > li:hover {
background-color: #dfdfe2;
}`

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: #dfdfe2;
	text-decoration:none;
}

nav > ul > li:hover {
	background-color: #dfdfe2;
}

h1,
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;
}

Your browser information:

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

Challenge: Step 46

Link to the challenge:

Everytime I post one of these, I figure it out almost instantly LOL.
I wasn’t realizing that I needed to set a color & background color!

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