emryyk
emryyk

Reputation: 11

My Webpage width is twice as wide as the content in it ? Why?

I am building building my first Webpage and the width is twice as big as the content in it, I can't find the reason. Here is a link to the codepen, I would really appreciate help, as this got me stuck now for a week. Thank you.

The link: https://codepen.io/emryyk60/pen/BaLyWXr

<a href="https://codepen.io/emryyk60/pen/BaLyWXr?editors=1100" target="_blank">

Upvotes: 0

Views: 108

Answers (1)

myjobistobehappy
myjobistobehappy

Reputation: 776

You have a lot of syntax errors, but for a quick fix, adjust the following code:

From:

body{
    display: flex;
    justify-content: center;
    font-family: 'Neutra', sans-serif;  }

To:

body {
    display: flex;
    justify-content: center;
    font-family: 'Neutra', sans-serif;
    overflow-x: hidden;
}

Upvotes: 1

Related Questions