π₯ The Array .some() Method is super handy for checking if at least one item in an array meets what you are looking for
π₯ Poor (wo)manβs object search - stringify the object and use String.includes to filter the array
Next βπ₯ If you are trying to align oddly sized images, set a hard width + height and then use object-fit: cover; to remove any distortion
img {
width: 200px;
height: 200px;
object-fit: cover;
}