Flex-direction always wrong

Hello guys, i want to ask about flex- direction. The instruction is Add the CSS property flex-direction to both the header and footer and set the value to row .

My code like this

header {

    display: flex;

flex-direction :row;


footer {

    display: flex;

flex-direction :row;


but they always get me wrong. so what’s the wrong?


When you paste code make sure you use three backticks before and after the code block so that the code can be seen. It would be good if you post the challenge link too.

It’s hard to say anything from a screenshot.

this is the link

I think its a problem with the spacing. Remove the spacing before the “:

Thank u :laughing: for your help

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

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