Open klequis opened 5 years ago
Create a component that represents a section on a page.
The component will have a left and right side
One side will display an image and is 33% of the page width
The other side will display children which are expected to be text and is 66% of the page width.
The image must always be centered in its container and must not get cropped, nor distort in any way
The component will take a parameter which will specify
The component will take a parameter which specifies which image to use
Use the starter project
use square.png & wide-rectangle.png
Checkout out the project in the possible-answers folder
Description
Create a component that represents a section on a page.
The component will have a left and right side
One side will display an image and is 33% of the page width
The other side will display children which are expected to be text and is 66% of the page width.
The image must always be centered in its container and must not get cropped, nor distort in any way
The component will take a parameter which will specify
The component will take a parameter which specifies which image to use
Use the starter project
use square.png & wide-rectangle.png
UI
On mobile
On desktop