Miscellaneous Flashcards
1
Q
explain how these work:
object-fit: cover;
object-position: 50% 0;
info source: https://www.digitalocean.com/community/tutorials/css-cropping-images-object-fit
A
2
Q
why should you include a data-entry-id attribute (or something similar) in the element attribute who is the container for “entries” or “saved items” or lists of things which a user has saved?
A
so that you can reference it later, possibly using bubbling, as an easy (or only?) way to ‘get’ it