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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly