On the mentioned test the step testing for the presence of a media query doesn’t recognize it on the styles.css file, instead only passing the test while it is present on a style tag inside the HTML file. (The way I managed to pass the test)
Your code so far
The code is too long for this format. I’m linking a codepen as the example of the code: Here
Within the CSS:
@media(max-width: 1300px){
body{
border: 0;
}
}
Within the HTML:
<style>@media(max-width: 1300px){
body{
border: 0;
}
}</style> <!-- Had to add this so the page could 'find' the media query -->
Only works if adding it directly in the HTML inside a style tag
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Challenge Information:
Technical Documentation Page - Build a Technical Documentation Page
hmm, I don’t know what to say. I literally copy/pasted your HTML and CSS from codepen into the project editors and it passed for me. I did not make any changes to either.