Technical Documentation Page - Build a Technical Documentation Page

I have tried multi @media query but none have worked for me

Your code so far
body {
display: flex;
flex-direction: row;
font-family: ‘Open Sans’;
color: #4d4e53;
line-height: 1.5;
background-color: white;
margin: 0;
padding: 0;
}
#main-doc {
width: 75%;
height: 100vh;
}
@media (max-width: 600px) {
body {
flex-direction: column;
}
#main-doc {
max-width: 100%;
}
#navbar {
width: 100%;
margin-bottom: 40px;
}
}
#navbar {
height: 100vh;
width: 25%;
}
.nav-link a {
text-decoration: none;
font-family: ‘Open Sans’;
color: #4d4e53;
line-height: 1.5;
}
#ul-navbar {
list-style-type: none;

}
WARNING

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/106.0.0.0 Safari/537.36

Challenge: Technical Documentation Page - Build a Technical Documentation Page

Link to the challenge:

have you linked the stylesheet? please show your html code if you are still stuck.

Welcome to our community!
Give us all the code that you have written up to now in order to get the whole picture.
At least, for this time, I can see that you have two of the same selectors with different values for the same property. Plus, you have one closing curly brace that doesn’t belong there.
image

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