Unordered List / Flexbox, Second Menu Page, and a Media Query

Example

Be sure to resize the page!

HTML

<nav class="smallscreen"><a href="2021responsivemenu3b.html">Menu</a></nav>
    <nav class="fullscreen">
    <a href="">INFS 205</a>
    <a href="">INFS 310</a>
    <a href="">INFS 315</a>
    <a href="">INFS 361</a>
    <a href="">INFS 420</a>
    <a href="">INFS 490</a>
    <a href="">INFS 491</a>
</nav>

CSS

/* mobile first */
.smallscreen {
    display: block;
}

.fullscreen {
    display: none;
}

/* full screen */
@media (min-width: 800px) {
    .smallscreen {
    display: none;}

.fullscreen {
    display: flex;
    flex-direction: row;
    justify-content: space-around;}
}


nav a {
    padding: 10px;
    flex-grow: 0;
    flex-shrink: 0;
    text-decoration: none;
    text-align: center;}

}

/* add the interactive appearance */

nav a:link {
    color: blue;
    background-color: white;
}

nav a:visited {
    color: blue;
    background-color: white;
}

nav a:focus {
    color: white;
    background-color: blue;
}

nav a:hover {
    color: white;
    background-color: blue;
}

nav a:active {
    color: white;
    background-color: blue;
}