Trouble with @media

On the last HTML certification project and for whatever reason the @media querys are the only thing that trips me up. i have no idea what im doing wrong, to me, there are no errors but obviously thats not the case. the @media query is the only thing keeping me from passing. please help, thanks.

/* file: index.html */
<nav id="navbar">
<li><a href="#welcome-section">welcome section</a></li>
<li><a href="#projects">Projects</a></li>
<div id="welcome-section">
<div id="projects">
<div class="project-tile"><a href="">Build a tribute page</a></div>
<footer><a target="_blank" href="" id="profile-link">Profile Page</a></footer>

/* file: styles.css */
#welcome-section {height: 100vh;}
@media (max-width: 600px) {
h1 {
  background-color: lightblue;
  **Your browser information:**

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

Challenge: Build a Personal Portfolio Webpage

Link to the challenge:

How are you linking the css to your html?

Cannot believe it was something that simple. thank you so much!

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