Skip to content

Commit

Permalink
Added answeres to Q38 and Q41 (#1794)
Browse files Browse the repository at this point in the history
* Added answeres to Q38 and Q41

* Update front-end-development-quiz.md

Co-authored-by: Zhenja <evg.bazhanov@yahoo.com>
  • Loading branch information
ShankS3 and Ebazhanov authored Jul 5, 2021
1 parent ae86f24 commit cc8e1b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions front-end-development/front-end-development-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,12 @@ const user = {
#### Q38. Which choice does _not_ provide information on browser support for a particular CSS property?

- [ ] the "Can I Use" website
- [ ] the Web Platform Tests Suite
- [x] the Web Platform Tests Suite
- [ ] the CSS specification
- [ ] MDN property pages

[Web platform tests site](https://web-platform-tests.org/)

#### 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
Expand All @@ -387,9 +389,11 @@ const user = {

- [ ] it eliminates some JavaScript silent errors by changing them to throw errors.
- [ ] it prohibits some syntax likely to be defined in future versions of ECMAScript.
- [ ] it forces the writing of valid HTML and CSS.
- [x] it forces the writing of valid HTML and CSS.
- [ ] it fixes mistakes that make it difficult for JavaScript engines to perform optimizations.

[MDN docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode)

#### Q42. In normal flow, some elements display as block elements default and others inline. which choice contains only block-level by default elements?\*\*

- [ ] ul, li, a
Expand Down

0 comments on commit cc8e1b3

Please sign in to comment.