This code is not working. I have been trying for a lot and I am totally sure with the answer that its correct. Can anyone help me

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

  **Your code so far**

<!-- Use the flex Shorthand Property
There is a shortcut available to set several flex properties at once. The flex-grow, flex-shrink, and flex-basis properties can all be set together by using the flex property.

For example, flex: 1 0 10px; will set the item to flex-grow: 1;, flex-shrink: 0;, and flex-basis: 10px;.

The default property settings are flex: 0 1 auto;. -->
#box-container {
  display: flex;
  height: 500px;
#box-1 {
  background-color: dodgerblue;
  flex : 2 2 150px;
  height: 200px;
#box-2 {
  background-color: orangered;
  flex : 1 1 150px;
  height: 200px;

<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/94.0.4606.71 Safari/537.36

Challenge: Use the flex Shorthand Property

Link to the challenge:

Hi @iamibayat !

Welcome to the forum!

The issue is you have an extra space here

When I got rid of that extra space then it passed for me.

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