Tell us what’s happening:
Describe your issue in detail here.
why my media query is not workingg
Your code so far
/* file: index.html */
<head>
<style>
<link rel="stylesheet" href="styles.css">
<meta content= "width=device-width, initial-scale=1" name= "viewport" />
@media all and (width:700px){
body {
color:red;
}
}
</style>
</head>
<body>
<header position: fixed;
width: 100>
<nav id="navbar" style="position: fixed; top: 0">
<ul>
<li><a id="profile-link" href="#welcome-section" target="_blank" aniamtion="rotating"></a> </li>
</ul>
</nav>
</header>
<section id="welcome-section">
<h1>welcome </h1>
</section>
<section id="projects">
<a href="https://www.freecodecamp.org"></a>
<p class="project-tile"> hehe</p>
</section>
</body>
/* file: styles.css */
@media all and (width:20px){
.project-tile {
color:red;
}
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Challenge: Responsive Web Design Projects - Build a Personal Portfolio Webpage
Link to the challenge: