๐Ÿงช Challenges

Training Overdue

Challenge 6 - Medium

Description

Create a pinterest board for images that shows the images in a grid like the following:

Pinterest Board Grid

The number in the images is the order of insertion. This is going to depend on the height of each column, so we are going to add images in the column with less height.

For example, the first 5 images are going to be one right next to the other on the top, because the height of the columns at the beginning is 0. But the 6th image and the rest, are going to depend on the previous images inserted on those columns.

Objective

Implement the logic to render the images in that format using as much React/Typescript as possible.

๐Ÿ›๏ธ ๐Ÿงฎ ๐Ÿ“ โš›๏ธ ๐Ÿงช ๐Ÿ