Skip to content

Commit

Permalink
Q 39 - 40 [added] (#1631)
Browse files Browse the repository at this point in the history
2 New questions added
  • Loading branch information
lakshyamcs16 authored May 31, 2021
1 parent 49d53dc commit ea3f0bc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions front-end-development/front-end-development-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,17 @@ const user = {
- [ ] the Web Platform Tests Suite
- [ ] the CSS specification
- [ ] MDN property pages

#### Q39. You have a set of images that are slightly different sizes and aspect ratios. You don't mind if you crop off some of the image, but you want each image to completely fill a square box without being distorted. Which property and value would achieve this?

- [ ] object-fit: contain
- [ ] object-fit: stretch
- [ ] object-fit: all
- [X] object-fit: cover

#### Q40. what does the CSS selector a[href$="org"] select?

- [ ] all <a> tags whose href attribute begins with "org"
- [ ] all <a> tags whose href attribute equals "org"
- [X] all <a> tags whose href attribute ends with "org"
- [ ] all <a> tags whose href attribute contains "org"

0 comments on commit ea3f0bc

Please sign in to comment.