Help with dropdown

That’s right! But what I am not getting is the following.
My DropDown has two options. For example: GREEN AND YELLOW, when the person selecting green appears the green box, and when selecting yellow the yellow box appears. I’ll put an example print.