You have the following code:
You need to ensure that the content appears as shown in the following exhibit:
Which display attribute should you use for the red div?

A.
grid
B.
inline
C.
block
D.
flex
Explanation:
https://www.w3schools.com/cssref/pr_class_display.asp
the correct answer is D,
check the following code:
//!DOCTYPE html>
//html>
//head>
//meta charset=”utf-8″>
//title>///title>
///head>
//body>
//div style=”background-color:red;border:dashed; display: flex;”>
//div style=”background-color:yellow;”>My yellow///div>
//div style=”background-color:green;”>My green///div>
///div>
///body>
///html>
14
0
https://www.w3schools.com/cssref/pr_class_display.asp
0
0
flex
5
0
D: flex
7
0
D.
ttps://www.w3schools.com/code/tryit.asp?filename=FSA7G0WNU2JC
2
0