I did a flex but it show that theres something wrong can you help me pls?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

#box-container {
  display: flex;
  height: 500px;
#box-1 {
  background-color: dodgerblue;
  flex : 2 2 150px;
  height: 300px;

#box-2 {
  background-color: orangered;
  flex: 1 1 150px; 
  height: 300px;

<div id="box-container">
<div id="box-1"></div>
<div id="box-2"></div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Use the flex Shorthand Property

Link to the challenge:

Be very careful of typos. This is incorrect;
flex : 2 2 150px;

Do you see why?
When I correct this the code passes successfully.

yes i see …thank you very much :smiling_face_with_three_hearts:

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