Divs do not want to wrap

I am in the portfolio page, in my project section I have a few divs, I am trying to use display: flex and flex: wrap for my div elements to show one to the side of the other, but it is not working. Could someone help me?
divsnotwrapping

Hey there @chaerzu . I’m looking through your code right now. I’ll be helping you in a moment.

1 Like

In your CSS “projects” selector, you accidentally used a class selector like this: .projects.

Your HTML section has an id set to projects, not a class. So, if you change your CSS selector to:

#projects {
}

it will work. Keep it up! :wink:

1 Like

God bless u, I will work on giving it a better style now!

Indeed, may God bless you Yassin! May He be your sole delight and desire.

I was glad to help you. :slightly_smiling_face:

1 Like

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