Tell us what’s happening:
Greetings reader. I did everything the step asked me correctly and ecen checked for any errors and typos but it still wil not let me progress but tell me that I should use the aspect ratio property. What should I do? I tried everything and even looking up the coding to double check and to my knowledge, the coding I typed in is correct but I cannot progress. Please help.
Your code so far
Aspect-ratio: 35 / 4;
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="freeCodeCamp Accessibility Quiz practice project" />
<title>Accessibility Quiz</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<img id="logo" src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg">
<h1>HTML/CSS Quiz</h1>
<nav></nav>
</header>
<main></main>
</body>
</html>
/* file: styles.css */
body {
background: #f5f6f7;
color: #1b1b32;
font-family: Helvetica;
margin: 0;
}
#logo {
width: max(100px, 18vw);
background-color: #0a0a23;
aspect-ratio: 35 / 4;
padding: 0.4rem
}
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 4.4.4; SM-T561) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/58.4.2878.56737
Challenge: Learn Accessibility by Building a Quiz - Step 9
Link to the challenge: