Skip to content

Commit

Permalink
Fixed #3759 (#3761)
Browse files Browse the repository at this point in the history
* Fixed variable names in Q9 for OOP quiz

* Fixed dictation and correct answer of Q34 of OOP

Inside the body of a static constructor, only static members of a class are accessible.

* Fixed Q35 of OOP quiz dictation

* Update object-oriented-programming-quiz.md

* Update object-oriented-programming-quiz.md

* Updated Q62 of OOP quiz

The choices are a copy of Q61 and are thoroughly irrelevant to Q62

* Fixed dictation of a choice in Q65 of OOP quiz

* Added two new questions (Q66, Q67) for OOP Quiz

* Added reference for Q66 of OOP quiz

* Fixed #3759

* Added source for jQuery Q77
  • Loading branch information
masoudk1990 authored Jun 1, 2022
1 parent 13714e1 commit 4865b1e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jquery/jquery-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1532,3 +1532,12 @@ $('.items')
- [x] Some events, such as mousemove and scroll, happen a lot on a typical page. Debounce or throttle their handlers to make sure the handlers are not called more than you actually need.
- [ ] Listening for an event that does not exist can create serious memory leaks. Be careful to spell event names correctly to avoid consuming too much memory.
- [ ] DOM elements with an ID wil fire events more efficiently than with classes. Always use IDs instead of classes where possible.

#### Q77. What is the purpose of the jQuery.fx.off global property?

- [ ] It turns off animations that are used to provide motion effect, but appearance effects remain enabled.
- [ ] It causes animation effects that are triggered via functions to instead be executed using CSS.
- [x] It globally disables all animations. When animations are run, all animation methods will immediately set elements to their final state when called, rather than displaying an effect.
- [ ] It globally disables animations that are triggered by CSS class changes.

[Source: jQuery.fx.off Property](https://www.w3schools.com/jquery/prop_jquery_fx_off.asp)

0 comments on commit 4865b1e

Please sign in to comment.