Personal Portfolio Webpage - Build a Personal Portfolio Webpage_Your portfolio should use at least one media query

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
Your portfolio should use at least one media query.

<!-- file: index.html -->
<html>
  <head>
	<title></title>
    </head>
    <body>
      <section id="welcome-section">
        <h1>welcome</h1>
        </section>
        <section id="projects">
          <a href=""></a>
          <div class="project-tile">
            </div>
          </section>
  <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
          <nav id="navbar">
            <a href="#"></a>
            </nav>
            <a id="profile-link" target="_blank"></a>
            @media only screen and (max-width: 680px) {
section,nav {
	width: 300px;
	height: 300px;
}
}
      </body>
      </html>
/* file: styles.css */

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

1 Like

If you have to use the media query as part of the HTML code,do not forget to enclose it in a style element, Otherwise,use it in an external CSS.

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