From ea3f0bc2ec1092f39008bd93841e03bdcfa66039 Mon Sep 17 00:00:00 2001 From: lakshyamcs16 <32986427+lakshyamcs16@users.noreply.github.com> Date: Tue, 1 Jun 2021 03:09:06 +0530 Subject: [PATCH] Q 39 - 40 [added] (#1631) 2 New questions added --- .../front-end-development-quiz.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/front-end-development/front-end-development-quiz.md b/front-end-development/front-end-development-quiz.md index 3621421629..9ba715980c 100644 --- a/front-end-development/front-end-development-quiz.md +++ b/front-end-development/front-end-development-quiz.md @@ -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 tags whose href attribute begins with "org" +- [ ] all tags whose href attribute equals "org" +- [X] all tags whose href attribute ends with "org" +- [ ] all tags whose href attribute contains "org"