Can't figure out why the site isn't responsive to phone screens

I created a link tree style site and made media queries for smaller screen sizes, however the site doesn’t adjust to phone screen sizes yet it works when I adjust the window on my computer any reasons you guys can think of? I posted the link to my GitHub where the files for the site is located

[GitHub - JVN313/Link-Site: Link Tree style site]
(GitHub - JVN313/Link-Site: Link Tree style site)

Hello there.

Do you have a question?

If so, please edit your post to include it.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

Not really sure what you are asking but you should add the viewport meta tag to the head element.

<meta name="viewport" content="width=device-width, initial-scale=1">

1 Like

Thank You So Much! That solved my problem. I’m just starting out and couldn’t figure out why it wasn’t responsive to screen sizes.

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