diff --git a/css/css-quiz.md b/css/css-quiz.md index a419e87701..893c01ae81 100644 --- a/css/css-quiz.md +++ b/css/css-quiz.md @@ -695,7 +695,9 @@ li:nth-child(2n + 3) { ```css @font-face { font-family: 'Avenir', sans-serif; - src: url('avenir.woff2') format('woff2'), url('avenir.woff') format('woff'); + src: + url('avenir.woff2') format('woff2'), + url('avenir.woff') format('woff'); } ``` diff --git a/jquery/jquery-quiz.md b/jquery/jquery-quiz.md index a42c64b69e..c62607d786 100755 --- a/jquery/jquery-quiz.md +++ b/jquery/jquery-quiz.md @@ -1444,34 +1444,31 @@ $(function({ - [ ] B ```js -$($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then(function ( - getData, - delayedData, -) { - //DOM is ready, getData and delayedData are available -}); +$($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then( + function (getData, delayedData) { + //DOM is ready, getData and delayedData are available + }, +); ``` - [ ] C ```js -$.when($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then(function ( - getData, - delayedData, -) { - //DOM is ready, getData and delayedData are available -}); +$.when($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then( + function (getData, delayedData) { + //DOM is ready, getData and delayedData are available + }, +); ``` - [x] D ```js -$.ready($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then(function ( - getData, - delayedData, -) { - //DOM is ready, getData and delayedData are available -}); +$.ready($.get('http://httpbin.org/get'), $.get('http://httpbin.org/delay/3')).then( + function (getData, delayedData) { + //DOM is ready, getData and delayedData are available + }, +); ``` #### Q74. You want to take an element and any event handlers that go with it out of the DOM to do some work—without the changes affecting the rest of the page—and then move it somewhere else in the DOM, like right after the opening tag. What should go on the first line of this code snippet?