Just because something doesn’t do what you want, doesn’t mean it’s not working. It means it’s not doing what you want it to do. As we don’t know what that is, it’s pretty hard to help you. Post a link to the site and tell us what it is you expect with your CSS.
Also, you’re in the wrong forum section (edit: not anymore).
@InputLite, to add to what @lasjorg wrote, I think I see what you’re trying to do. Make sure all of your elements have closing tags and the closing tags are in the correct places. For example, where is the closing tag for the first <li>Menu item 1?
Then, like @lasjorg writes, post a link to your code here with an explanation of what you’re trying to do, if you can’t get it working, and we’ll help.
This statement doesn’t even make any sense. HTML structure and CSS syntax are two different things. If you have invalid HTML all bets are off, you need to fix the HTML first before worrying about CSS syntax.
Probably because your HTML and/or selectors are all out of whack.
I’m sure you don’t want to hear this, but instead of relying on websites and other people so much. How about you just start by learning some more of the basics first. If you just copy/paste code from somewhere you will keep getting into issues you can’t fix because you don’t understand what the code does.
Just to be clear. I don’t mean to suggest you can’t ask questions here or get help from various websites. I just mean the better your own understanding of this subject is, the less confusing it will be for you when making your projects.
“flex box syntax” is CSS, not HTML. Your HTML is what is invalid. The two things are not related. Well, other than the fact that having invalid HTML can break any CSS.
You’re missing closing ul and li tags on menu item 1. Judging by your replies you need to go back to square 1 and start again. Not being mean but if you dont understand these very basic principles then you just need to watch more YouTube vids and follow the training courses on this site. I know the video you’ve been watching as I’ve seen it myself. My advice is to follow along and copy it word for word as hes doing it. Pause, play and repeat.
I made an account just to tell you that you are an absolute jerk. Every comment I have seen from you is delivered with absolute condescension and rudeness. If you are so great, then why are you here? Why are you bothered by people asking basic questions. Bet you feel like a big man stomping on people trying to learn. If you are a mod here then this website must be awful.