diff --git a/client/src/pages/learn/front-end-libraries/front-end-libraries-projects/index.md b/client/src/pages/learn/front-end-libraries/front-end-libraries-projects/index.md index 942072ac28c..c5ecad3a0d9 100644 --- a/client/src/pages/learn/front-end-libraries/front-end-libraries-projects/index.md +++ b/client/src/pages/learn/front-end-libraries/front-end-libraries-projects/index.md @@ -6,7 +6,7 @@ superBlock: Front End Libraries ## Introduction to the Front End Libraries Projects It's now time to test out the frontend skills learned. This will help to bolster your skills, so don't hesitate to showcase your frontend skills in these projects. -In this section you will complete the following projects with Bootstrap, Jquery, Sass, React and Redux: +In this section you will complete the following projects with Bootstrap, jQuery, Sass, React and Redux: * A Random Quote Machine * A Markdown Previewer * A Drum Machine diff --git a/curriculum/challenges/russian/03-front-end-libraries/jquery/target-elements-by-class-using-jquery.russian.md b/curriculum/challenges/russian/03-front-end-libraries/jquery/target-elements-by-class-using-jquery.russian.md index 92d2b7eb914..6119e44ef22 100644 --- a/curriculum/challenges/russian/03-front-end-libraries/jquery/target-elements-by-class-using-jquery.russian.md +++ b/curriculum/challenges/russian/03-front-end-libraries/jquery/target-elements-by-class-using-jquery.russian.md @@ -9,7 +9,7 @@ localeTitle: Целевые элементы по классам Использ --- ## Description -
Вы видите, как мы отбросили все ваши элементы button ? Мы выбрали их с помощью $("button") , затем мы добавили к ним некоторые классы CSS с .addClass("animated bounce"); , Вы только что использовали .addClass() jQuery, которая позволяет добавлять классы к элементам. Во- первых, давайте нацеливать свои div элементы с классом well с помощью $(".well") селектор. Обратите внимание, что, как и в объявлениях CSS, вы вводите a . перед именем класса. Затем с помощью JQuery в .addClass() функцию , чтобы добавить классы animated и shake . Например, вы можете сделать все элементы с $(".text-primary").addClass("animated shake"); типа text-primary , добавив следующее к вашей document ready function : $(".text-primary").addClass("animated shake");
+
Вы видите, как мы отбросили все ваши элементы button ? Мы выбрали их с помощью $("button") , затем мы добавили к ним некоторые классы CSS с .addClass("animated bounce"); , Вы только что использовали .addClass() jQuery, которая позволяет добавлять классы к элементам. Во- первых, давайте нацеливать свои div элементы с классом well с помощью $(".well") селектор. Обратите внимание, что, как и в объявлениях CSS, вы вводите a . перед именем класса. Затем с помощью jQuery в .addClass() функцию , чтобы добавить классы animated и shake . Например, вы можете сделать все элементы с $(".text-primary").addClass("animated shake"); типа text-primary , добавив следующее к вашей document ready function : $(".text-primary").addClass("animated shake");
## Instructions
@@ -20,7 +20,7 @@ localeTitle: Целевые элементы по классам Использ ```yml tests: - - text: 'Используйте JQuery addClass() функцию , чтобы дать классы animated и shake , чтобы все ваши элементы с классом well .' + - text: 'Используйте jQuery addClass() функцию , чтобы дать классы animated и shake , чтобы все ваши элементы с классом well .' testString: 'assert($(".well").hasClass("animated") && $(".well").hasClass("shake"), "Use the jQuery addClass() function to give the classes animated and shake to all your elements with the class well.");' - text: 'Используйте только jQuery, чтобы добавить эти классы к элементу.' testString: 'assert(!code.match(/class\.\*animated/g), "Only use jQuery to add these classes to the element.");' diff --git a/curriculum/formattingConversion/system-design-and-concept-questions.json b/curriculum/formattingConversion/system-design-and-concept-questions.json index d8164083b9a..9801a49e1da 100644 --- a/curriculum/formattingConversion/system-design-and-concept-questions.json +++ b/curriculum/formattingConversion/system-design-and-concept-questions.json @@ -569,7 +569,7 @@ "
Vanilla Javascript
", "
React.js
", "
Node.js
", - "
Jquery
" + "
jQuery
" ], "answer": 2, "explanation": "require() is built into Node.js in order to load modules for use with an application." @@ -590,7 +590,7 @@ "subtitle": "JavaScript framework", "question": "In which Javascript framework will you find the ng style of attributes?", "choices": [ - "
Jquery
", + "
jQuery
", "
React
", "
Angular
", "
Ember
" diff --git a/guide/arabic/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md b/guide/arabic/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md index 3a74ebbfc26..21697b64ae9 100644 --- a/guide/arabic/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md +++ b/guide/arabic/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md @@ -2,7 +2,7 @@ title: Target HTML Elements with Selectors Using jQuery localeTitle: عناصر HTML الهدف مع المحددات باستخدام jQuery --- -* تتيح لك أدوات اختيار JQuery تحديد عناصر HTML والتعامل معها. +* تتيح لك أدوات اختيار jQuery تحديد عناصر HTML والتعامل معها. * تبدأ هذه المحددات مع علامة الدولار والأقواس: $ () * يمكنك "إيجاد" (أو تحديد) عناصر HTML استنادًا إلى الاسم والمعرف والفئات والأنواع والسمات وقيم السمات وغير ذلك الكثير. @@ -23,4 +23,4 @@ localeTitle: عناصر HTML الهدف مع المحددات باستخدام j $("button").addClass("animated bounce"); // We are selecting the button elements and adding "animated bounce" class to them. }); -` \ No newline at end of file +` diff --git a/guide/arabic/jquery/jquery-effects-show-method/index.md b/guide/arabic/jquery/jquery-effects-show-method/index.md index 714438103b4..00752cf450d 100644 --- a/guide/arabic/jquery/jquery-effects-show-method/index.md +++ b/guide/arabic/jquery/jquery-effects-show-method/index.md @@ -39,4 +39,4 @@ localeTitle: طريقة jQuery تظهر طريقة #### معلومات اكثر: -طريقة JQuery Show () على [الموقع الرسمي](http://api.jquery.com/show/) \ No newline at end of file +طريقة jQuery Show () على [الموقع الرسمي](http://api.jquery.com/show/) diff --git a/guide/arabic/jquery/jquery-html-method/index.md b/guide/arabic/jquery/jquery-html-method/index.md index 221b09f8cc0..2b62ada12de 100644 --- a/guide/arabic/jquery/jquery-html-method/index.md +++ b/guide/arabic/jquery/jquery-html-method/index.md @@ -1,9 +1,11 @@ ---- -title: HTML Method -localeTitle: طريقة HTML ---- # طريقة HTML +--- +title: HTML Method +localeTitle: طريقة HTML +--- -تحصل طريقة Jquery `.html()` على محتوى عنصر HTML أو تقوم بتعيين محتوى عنصر HTML. +# طريقة HTML + +تحصل طريقة jQuery `.html()` على محتوى عنصر HTML أو تقوم بتعيين محتوى عنصر HTML. ## الحصول على @@ -33,4 +35,4 @@ localeTitle: طريقة HTML ### معلومات اكثر -[W3Schools](https://www.w3schools.com/jquery/html_html.asp) \ No newline at end of file +[W3Schools](https://www.w3schools.com/jquery/html_html.asp) diff --git a/guide/arabic/jquery/jquery-selectors/index.md b/guide/arabic/jquery/jquery-selectors/index.md index 471edd15518..af6da87c0ae 100644 --- a/guide/arabic/jquery/jquery-selectors/index.md +++ b/guide/arabic/jquery/jquery-selectors/index.md @@ -103,7 +103,7 @@ localeTitle: مختارات jQuery `$("p:contains('World')").css("color", "yellow"); ` -وبالمثل ، يحدد `:last` selector `:last` العنصر الأخير للطفل التابع له. يحدد محدد JQuery أدناه العنصر `
  • ` الأخير في القائمة - عنصر القائمة "Three" - ثم يستخدم طريقة `.css` لتحويل النص إلى اللون الأصفر. +وبالمثل ، يحدد `:last` selector `:last` العنصر الأخير للطفل التابع له. يحدد محدد jQuery أدناه العنصر `
  • ` الأخير في القائمة - عنصر القائمة "Three" - ثم يستخدم طريقة `.css` لتحويل النص إلى اللون الأصفر. `$("li:last").css("color", "yellow");` @@ -118,4 +118,4 @@ localeTitle: مختارات jQuery #### معلومات اكثر: -* [قائمة كاملة من محددات jQuery](http://api.jquery.com/category/selectors/) \ No newline at end of file +* [قائمة كاملة من محددات jQuery](http://api.jquery.com/category/selectors/) diff --git a/guide/arabic/miscellaneous/learn-about-jsonp/index.md b/guide/arabic/miscellaneous/learn-about-jsonp/index.md index 5f643a8429f..fca96136acc 100644 --- a/guide/arabic/miscellaneous/learn-about-jsonp/index.md +++ b/guide/arabic/miscellaneous/learn-about-jsonp/index.md @@ -21,6 +21,6 @@ JSONP لتقف على "JSON مع الحشو". لنفترض أنك تريد تق ### معلومات اكثر: * [Wikipidea / JSONP](https://en.wikipedia.org/wiki/JSONP) -* [JSONP و JQuery](https://learn.jquery.com/ajax/working-with-jsonp) -* [أكثر JSONP مع JQuery](http://api.jquery.com/jquery.getjson/#jsonp) -* [Ajax و JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) \ No newline at end of file +* [JSONP و jQuery](https://learn.jquery.com/ajax/working-with-jsonp) +* [أكثر JSONP مع jQuery](http://api.jquery.com/jquery.getjson/#jsonp) +* [Ajax و JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) diff --git a/guide/chinese/jquery/jquery-html-method/index.md b/guide/chinese/jquery/jquery-html-method/index.md index 41a880eb024..eb18bf2b5a5 100644 --- a/guide/chinese/jquery/jquery-html-method/index.md +++ b/guide/chinese/jquery/jquery-html-method/index.md @@ -1,9 +1,11 @@ ---- -title: HTML Method -localeTitle: HTML方法 ---- # HTML方法 +--- +title: HTML Method +localeTitle: HTML方法 +--- -Jquery `.html()`方法获取HTML元素的内容或设置HTML元素的内容。 +# HTML方法 + +jQuery `.html()`方法获取HTML元素的内容或设置HTML元素的内容。 ## 入门 @@ -37,4 +39,4 @@ $('p').html('Hello World!'); ### 更多信息 -[W3Schools的](https://www.w3schools.com/jquery/html_html.asp) \ No newline at end of file +[W3Schools的](https://www.w3schools.com/jquery/html_html.asp) diff --git a/guide/english/certifications/front-end-libraries/jquery/change-text-inside-an-element-using-jquery/index.md b/guide/english/certifications/front-end-libraries/jquery/change-text-inside-an-element-using-jquery/index.md index 3b29a0b1829..0972461bf98 100644 --- a/guide/english/certifications/front-end-libraries/jquery/change-text-inside-an-element-using-jquery/index.md +++ b/guide/english/certifications/front-end-libraries/jquery/change-text-inside-an-element-using-jquery/index.md @@ -40,7 +40,7 @@ title: Change Text Inside an Element Using jQuery ### More information -[JQuery API Documentation](http://api.jquery.com/html/) +[jQuery API Documentation](http://api.jquery.com/html/) [freeCoceCamp Guide](https://guide.freecodecamp.org/jquery/jquery-html-method) diff --git a/guide/english/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md b/guide/english/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md index 67c87ab6fc5..d95b9bc2b44 100644 --- a/guide/english/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md +++ b/guide/english/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md @@ -1,7 +1,7 @@ --- title: Target HTML Elements with Selectors Using jQuery --- -- JQuery selectors allow you to select and manipulate HTML elements. +- jQuery selectors allow you to select and manipulate HTML elements. - These selectors start with the dollar sign and parentheses: $() - You can "find" (or select) HTML elements based on their name, id, classes, types, attributes, values of attributes and much more. diff --git a/guide/english/jquery/index.md b/guide/english/jquery/index.md index afa96447f57..47b0ea4b9d5 100644 --- a/guide/english/jquery/index.md +++ b/guide/english/jquery/index.md @@ -14,7 +14,7 @@ jQuery adds a global variable with all of the libraries methods attached. The na ## Get Started -Before studying JQuery, you should have basic knowledge of these topics: +Before studying jQuery, you should have basic knowledge of these topics: 1. HTML 2. CSS 3. JavaScript diff --git a/guide/english/jquery/jquery-effects-hide-method/index.md b/guide/english/jquery/jquery-effects-hide-method/index.md index 38620c6d9d1..8f912c45b15 100644 --- a/guide/english/jquery/jquery-effects-hide-method/index.md +++ b/guide/english/jquery/jquery-effects-hide-method/index.md @@ -50,6 +50,6 @@ $(".myclass").slideDown("fast"); //will expand the element with the identifier m #### More Information: -JQuery hide() method on the Official website +jQuery hide() method on the Official website diff --git a/guide/english/jquery/jquery-effects-show-method/index.md b/guide/english/jquery/jquery-effects-show-method/index.md index 625b3d7b40e..a90416ccc5e 100644 --- a/guide/english/jquery/jquery-effects-show-method/index.md +++ b/guide/english/jquery/jquery-effects-show-method/index.md @@ -40,5 +40,5 @@ $(".myclass").slideDown("fast"); //will expand the element with the identifier m #### More Information: -JQuery Show() method on the Official website +jQuery Show() method on the Official website diff --git a/guide/english/jquery/jquery-html-method/index.md b/guide/english/jquery/jquery-html-method/index.md index c237ae2a150..1699c02dff8 100644 --- a/guide/english/jquery/jquery-html-method/index.md +++ b/guide/english/jquery/jquery-html-method/index.md @@ -1,37 +1,37 @@ ---- -title: HTML Method ---- - -# HTML Method -The Jquery `.html()` method gets the content of a HTML element or sets the content of an HTML element. - -## Getting -To return the content of a HTML element, use this syntax: -```javascript -$('selector').html(); -``` - -For example: -```javascript -$('#example').html(); -``` - -## Setting -To set the content of a HTML element, use this syntax: -```javascript -$('selector').html(content); -``` - -For example: -```javascript -$('p').html('Hello World!'); -``` - -That will set the content of all of the `

    ` elements to Hello World! - -## Warning -`.html()` method is used to set the element's content in **HTML** format. This may be dangerous if the content is provided by user. Consider using `.text()` method instead if you need to set non-HTML strings as content. - -### More Information - -[W3Schools](https://www.w3schools.com/jquery/html_html.asp) +--- +title: HTML Method +--- + +# HTML Method +The jQuery `.html()` method gets the content of a HTML element or sets the content of an HTML element. + +## Getting +To return the content of a HTML element, use this syntax: +```javascript +$('selector').html(); +``` + +For example: +```javascript +$('#example').html(); +``` + +## Setting +To set the content of a HTML element, use this syntax: +```javascript +$('selector').html(content); +``` + +For example: +```javascript +$('p').html('Hello World!'); +``` + +That will set the content of all of the `

    ` elements to Hello World! + +## Warning +`.html()` method is used to set the element's content in **HTML** format. This may be dangerous if the content is provided by user. Consider using `.text()` method instead if you need to set non-HTML strings as content. + +### More Information + +[W3Schools](https://www.w3schools.com/jquery/html_html.asp) diff --git a/guide/english/miscellaneous/learn-about-jsonp/index.md b/guide/english/miscellaneous/learn-about-jsonp/index.md index 961c53f1dc6..d11169d00e2 100644 --- a/guide/english/miscellaneous/learn-about-jsonp/index.md +++ b/guide/english/miscellaneous/learn-about-jsonp/index.md @@ -20,6 +20,6 @@ This triggers an automatic callback after the data has loaded, creating a functi ### More Information: * Wikipidea/JSONP -* JSONP and JQuery -* More JSONP with JQuery +* JSONP and jQuery +* More JSONP with jQuery * Ajax and JSONP diff --git a/guide/portuguese/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md b/guide/portuguese/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md index 7705ca40e2c..ff4037c64fc 100644 --- a/guide/portuguese/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md +++ b/guide/portuguese/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md @@ -2,7 +2,7 @@ title: Target HTML Elements with Selectors Using jQuery localeTitle: Alvo de elementos HTML com seletores usando jQuery --- -* Os seletores JQuery permitem selecionar e manipular elementos HTML. +* Os seletores jQuery permitem selecionar e manipular elementos HTML. * Esses seletores começam com o cifrão e parênteses: $ () * Você pode "encontrar" (ou selecionar) elementos HTML com base em seus nomes, id, classes, tipos, atributos, valores de atributos e muito mais. @@ -26,4 +26,4 @@ localeTitle: Alvo de elementos HTML com seletores usando jQuery }); -``` \ No newline at end of file +``` diff --git a/guide/portuguese/jquery/jquery-effects-hide-method/index.md b/guide/portuguese/jquery/jquery-effects-hide-method/index.md index a4d09f9297c..f5c0826c06d 100644 --- a/guide/portuguese/jquery/jquery-effects-hide-method/index.md +++ b/guide/portuguese/jquery/jquery-effects-hide-method/index.md @@ -53,4 +53,4 @@ $(".myclass").slideDown(); //will expand the element with the identifier myclass #### Mais Informações: -JQuery hide () método no [site oficial](http://api.jquery.com/hide/) \ No newline at end of file +jQuery hide () método no [site oficial](http://api.jquery.com/hide/) diff --git a/guide/portuguese/jquery/jquery-effects-show-method/index.md b/guide/portuguese/jquery/jquery-effects-show-method/index.md index 570cc829d14..eac7ca722e2 100644 --- a/guide/portuguese/jquery/jquery-effects-show-method/index.md +++ b/guide/portuguese/jquery/jquery-effects-show-method/index.md @@ -42,4 +42,4 @@ javascript $ (". myclass"). slideDown (); // expandirá o elemento com o identif #### Mais Informações: -JQuery Show () método no [site oficial](http://api.jquery.com/show/) \ No newline at end of file +jQuery Show () método no [site oficial](http://api.jquery.com/show/) diff --git a/guide/portuguese/jquery/jquery-selectors/index.md b/guide/portuguese/jquery/jquery-selectors/index.md index 30c8ed09fd6..867b5627e70 100644 --- a/guide/portuguese/jquery/jquery-selectors/index.md +++ b/guide/portuguese/jquery/jquery-selectors/index.md @@ -118,7 +118,7 @@ Outro seletor de filtragem `:contains(text)` , seleciona elementos que possuem u $("p:contains('World')").css("color", "yellow"); ``` -Da mesma forma, o `:last` selector seleciona o elemento que é o último filho de seu pai. O seletor de JQuery abaixo seleciona o último elemento `

  • ` na lista - o item de lista "Três" - e, em seguida, usa o método `.css` para transformar o texto em amarelo. +Da mesma forma, o `:last` selector seleciona o elemento que é o último filho de seu pai. O seletor de jQuery abaixo seleciona o último elemento `
  • ` na lista - o item de lista "Três" - e, em seguida, usa o método `.css` para transformar o texto em amarelo. `$("li:last").css("color", "yellow");` @@ -133,4 +133,4 @@ Estes são apenas alguns dos seletores disponíveis para uso no jQuery. Veja a s #### Mais Informações: -* [Lista completa de seletores de jQuery](http://api.jquery.com/category/selectors/) \ No newline at end of file +* [Lista completa de seletores de jQuery](http://api.jquery.com/category/selectors/) diff --git a/guide/portuguese/miscellaneous/learn-about-jsonp/index.md b/guide/portuguese/miscellaneous/learn-about-jsonp/index.md index d5f9c03c159..1c835b72dbb 100644 --- a/guide/portuguese/miscellaneous/learn-about-jsonp/index.md +++ b/guide/portuguese/miscellaneous/learn-about-jsonp/index.md @@ -23,6 +23,6 @@ Isso aciona um retorno de chamada automático após o carregamento dos dados, cr ### Mais Informações: * [Wikipidea / JSONP](https://en.wikipedia.org/wiki/JSONP) -* [JSONP e JQuery](https://learn.jquery.com/ajax/working-with-jsonp) -* [Mais JSONP com JQuery](http://api.jquery.com/jquery.getjson/#jsonp) -* [Ajax e JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) \ No newline at end of file +* [JSONP e jQuery](https://learn.jquery.com/ajax/working-with-jsonp) +* [Mais JSONP com jQuery](http://api.jquery.com/jquery.getjson/#jsonp) +* [Ajax e JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) diff --git a/guide/russian/certifications/front-end-libraries/jquery/index.md b/guide/russian/certifications/front-end-libraries/jquery/index.md index 97af6a9def5..d4756a9e793 100644 --- a/guide/russian/certifications/front-end-libraries/jquery/index.md +++ b/guide/russian/certifications/front-end-libraries/jquery/index.md @@ -1,11 +1,11 @@ --- title: jQuery -localeTitle: JQuery +localeTitle: jQuery --- -## JQuery +## jQuery Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/quadratic-equations/index.md) . [Это руководство по быстрому стилю поможет вам принять ваш запрос на тягу](https://github.com/freecodecamp/guides/blob/master/README.md) . -#### Дополнительная информация: \ No newline at end of file +#### Дополнительная информация: diff --git a/guide/russian/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md b/guide/russian/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md index 11347d073f3..d9db347147e 100644 --- a/guide/russian/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md +++ b/guide/russian/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md @@ -2,7 +2,7 @@ title: Target HTML Elements with Selectors Using jQuery localeTitle: Целевые элементы HTML с селекторами Использование jQuery --- -* Селекторы JQuery позволяют вам выбирать и управлять элементами HTML. +* Селекторы jQuery позволяют вам выбирать и управлять элементами HTML. * Эти селекторы начинаются со знака доллара и круглых скобок: $ () * Вы можете «найти» (или выбрать) HTML-элементы на основе их имени, идентификатора, классов, типов, атрибутов, значений атрибутов и т. Д. @@ -26,4 +26,4 @@ localeTitle: Целевые элементы HTML с селекторами Ис }); -``` \ No newline at end of file +``` diff --git a/guide/russian/javascript/standard-objects/function/function-prototype-bind/index.md b/guide/russian/javascript/standard-objects/function/function-prototype-bind/index.md index 19510abaced..e6e8e0a3e87 100644 --- a/guide/russian/javascript/standard-objects/function/function-prototype-bind/index.md +++ b/guide/russian/javascript/standard-objects/function/function-prototype-bind/index.md @@ -24,7 +24,7 @@ var nodevember = { $('.add-attendee-btn').on('click', nodevember.incrementNumOfAttendees); ``` -Это обычная проблема при работе с jQuery и JavaScript. При нажатии на кнопку `this` ключевое слово в методе , который вы передали JQuery - х `on` методу ссылается на кнопку , а не объект конференции. Вы можете связать `this` контекст своего метода, чтобы решить проблему. +Это обычная проблема при работе с jQuery и JavaScript. При нажатии на кнопку `this` ключевое слово в методе , который вы передали jQuery - х `on` методу ссылается на кнопку , а не объект конференции. Вы можете связать `this` контекст своего метода, чтобы решить проблему. ```javascript var nodevember = { @@ -56,4 +56,4 @@ function combineStrings(str1, str2) { В руководстве по [этой ссылке](https://guide.freecodecamp.org/javascript/this-reference) содержится дополнительная информация о том, как изменить `this` ключевое слово. -Более подробную информацию о методе `bind` можно найти в [документах MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) от Mozilla. \ No newline at end of file +Более подробную информацию о методе `bind` можно найти в [документах MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) от Mozilla. diff --git a/guide/russian/jquery/index.md b/guide/russian/jquery/index.md index d4a6caa5a56..d6a856e4155 100644 --- a/guide/russian/jquery/index.md +++ b/guide/russian/jquery/index.md @@ -1,8 +1,8 @@ --- title: jQuery -localeTitle: JQuery +localeTitle: jQuery --- -## JQuery +## jQuery ![logo](https://upload.wikimedia.org/wikipedia/en/thumb/9/9e/JQuery_logo.svg/250px-JQuery_logo.svg.png "Логотип jQuery") @@ -28,4 +28,4 @@ $(document).ready(function(){ #### Больше информации -* [Главная страница jQuery](https://jquery.com/) \ No newline at end of file +* [Главная страница jQuery](https://jquery.com/) diff --git a/guide/russian/jquery/jquery-effects-hide-method/index.md b/guide/russian/jquery/jquery-effects-hide-method/index.md index ebf0e93662a..0477c401ac5 100644 --- a/guide/russian/jquery/jquery-effects-hide-method/index.md +++ b/guide/russian/jquery/jquery-effects-hide-method/index.md @@ -53,4 +53,4 @@ $(".myclass").slideDown(); //will expand the element with the identifier myclass #### Дополнительная информация: -Метод JQuery hide () на [официальном сайте](http://api.jquery.com/hide/) \ No newline at end of file +Метод jQuery hide () на [официальном сайте](http://api.jquery.com/hide/) diff --git a/guide/russian/jquery/jquery-effects-show-method/index.md b/guide/russian/jquery/jquery-effects-show-method/index.md index 52b17b7c04b..c2720436ba7 100644 --- a/guide/russian/jquery/jquery-effects-show-method/index.md +++ b/guide/russian/jquery/jquery-effects-show-method/index.md @@ -42,4 +42,4 @@ Javascript $ ( "MyClass"). SlideDown (). // будет расширять эле #### Дополнительная информация: -Метод JQuery Show () на [официальном сайте](http://api.jquery.com/show/) \ No newline at end of file +Метод jQuery Show () на [официальном сайте](http://api.jquery.com/show/) diff --git a/guide/russian/jquery/jquery-hover-method/index.md b/guide/russian/jquery/jquery-hover-method/index.md index e020f0ff2af..7471e73e8a7 100644 --- a/guide/russian/jquery/jquery-hover-method/index.md +++ b/guide/russian/jquery/jquery-hover-method/index.md @@ -1,8 +1,8 @@ --- title: jQuery Hover Method -localeTitle: Метод JQuery Hover +localeTitle: Метод jQuery Hover --- -# Метод JQuery Hover +# Метод jQuery Hover Метод hquery hover представляет собой комбинацию событий `mouseenter` и `mouseleave` . Синтаксис таков: ``` @@ -13,4 +13,4 @@ $(selector).hover(inFunction, outFunction); ### Больше информации -Более подробную информацию можно найти [здесь](https://www.w3schools.com/jquery/event_hover.asp) . \ No newline at end of file +Более подробную информацию можно найти [здесь](https://www.w3schools.com/jquery/event_hover.asp) . diff --git a/guide/russian/jquery/jquery-html-method/index.md b/guide/russian/jquery/jquery-html-method/index.md index 6d66898ee0b..5d27e483fc7 100644 --- a/guide/russian/jquery/jquery-html-method/index.md +++ b/guide/russian/jquery/jquery-html-method/index.md @@ -1,9 +1,9 @@ ---- -title: HTML Method -localeTitle: Метод HTML ---- # Метод HTML - -Метод JQuery `.html()` получает содержимое элемента HTML или задает содержимое элемента HTML. +--- +title: HTML Method +localeTitle: Метод HTML +--- +# Метод HTML +Метод jQuery `.html()` получает содержимое элемента HTML или задает содержимое элемента HTML. ## Получение @@ -37,4 +37,4 @@ $('p').html('Hello World!'); ### Больше информации -[W3Schools](https://www.w3schools.com/jquery/html_html.asp) \ No newline at end of file +[W3Schools](https://www.w3schools.com/jquery/html_html.asp) diff --git a/guide/russian/jquery/jquery-selectors/index.md b/guide/russian/jquery/jquery-selectors/index.md index 02c2523f660..212593df180 100644 --- a/guide/russian/jquery/jquery-selectors/index.md +++ b/guide/russian/jquery/jquery-selectors/index.md @@ -118,7 +118,7 @@ $("li:first").css("color", "green"); $("p:contains('World')").css("color", "yellow"); ``` -Аналогично, `:last` селектор выбирает элемент, который является последним дочерним элементом его родителя. В селекторе JQuery ниже выбирается последний элемент `
  • ` в списке - элемент списка «Три», а затем используется метод `.css` чтобы повернуть текст в желтый цвет. +Аналогично, `:last` селектор выбирает элемент, который является последним дочерним элементом его родителя. В селекторе jQuery ниже выбирается последний элемент `
  • ` в списке - элемент списка «Три», а затем используется метод `.css` чтобы повернуть текст в желтый цвет. `$("li:last").css("color", "yellow");` @@ -133,4 +133,4 @@ $("#cat,#dog,#rat").css("background-color","red"); #### Дополнительная информация: -* [Полный список селекторов jQuery](http://api.jquery.com/category/selectors/) \ No newline at end of file +* [Полный список селекторов jQuery](http://api.jquery.com/category/selectors/) diff --git a/guide/russian/miscellaneous/chaijs-cheatsheet/index.md b/guide/russian/miscellaneous/chaijs-cheatsheet/index.md index bc99ccb9e14..5468603ece4 100644 --- a/guide/russian/miscellaneous/chaijs-cheatsheet/index.md +++ b/guide/russian/miscellaneous/chaijs-cheatsheet/index.md @@ -90,7 +90,7 @@ expect(object) .throw /not a function/ ``` -## Chai-JQuery +## Chai-jQuery ``` global.jQuery = ...; chai.use(require('chai-jquery')); @@ -127,4 +127,4 @@ expect(object) > \[ricostacruz CheatSheets > -> [Обсудить на gitter](https://gitter.im/bothelp/testing) \ No newline at end of file +> [Обсудить на gitter](https://gitter.im/bothelp/testing) diff --git a/guide/russian/miscellaneous/learn-about-jsonp/index.md b/guide/russian/miscellaneous/learn-about-jsonp/index.md index b2e9c3b31df..5912eee0dd4 100644 --- a/guide/russian/miscellaneous/learn-about-jsonp/index.md +++ b/guide/russian/miscellaneous/learn-about-jsonp/index.md @@ -23,6 +23,6 @@ script.src = 'http://www.someWebApiServer.com/some-data?callback=my_callback'; ### Дополнительная информация: * [Wikipidea / JSONP](https://en.wikipedia.org/wiki/JSONP) -* [JSONP и JQuery](https://learn.jquery.com/ajax/working-with-jsonp) -* [Больше JSONP с JQuery](http://api.jquery.com/jquery.getjson/#jsonp) -* [Ajax и JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) \ No newline at end of file +* [JSONP и jQuery](https://learn.jquery.com/ajax/working-with-jsonp) +* [Больше JSONP с jQuery](http://api.jquery.com/jquery.getjson/#jsonp) +* [Ajax и JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) diff --git a/guide/spanish/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md b/guide/spanish/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md index 86d44e06c3b..c76bfc58d93 100644 --- a/guide/spanish/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md +++ b/guide/spanish/certifications/front-end-libraries/jquery/target-html-elements-with-selectors-using-jquery/index.md @@ -2,7 +2,7 @@ title: Target HTML Elements with Selectors Using jQuery localeTitle: Destinar elementos HTML con selectores utilizando jQuery --- -* Los selectores JQuery le permiten seleccionar y manipular elementos HTML. +* Los selectores jQuery le permiten seleccionar y manipular elementos HTML. * Estos selectores comienzan con el signo de dólar y los paréntesis: $ () * Puede "encontrar" (o seleccionar) elementos HTML según su nombre, id, clases, tipos, atributos, valores de atributos y mucho más. @@ -26,4 +26,4 @@ localeTitle: Destinar elementos HTML con selectores utilizando jQuery }); -``` \ No newline at end of file +``` diff --git a/guide/spanish/jquery/jquery-effects-hide-method/index.md b/guide/spanish/jquery/jquery-effects-hide-method/index.md index b9e429c66c4..031ab06673b 100644 --- a/guide/spanish/jquery/jquery-effects-hide-method/index.md +++ b/guide/spanish/jquery/jquery-effects-hide-method/index.md @@ -53,4 +53,4 @@ $(".myclass").slideDown(); //will expand the element with the identifier myclass #### Más información: -Método JQuery hide () en el [sitio web oficial](http://api.jquery.com/hide/) \ No newline at end of file +Método jQuery hide () en el [sitio web oficial](http://api.jquery.com/hide/) diff --git a/guide/spanish/jquery/jquery-effects-show-method/index.md b/guide/spanish/jquery/jquery-effects-show-method/index.md index c6bb4cff8ac..cfa0864a851 100644 --- a/guide/spanish/jquery/jquery-effects-show-method/index.md +++ b/guide/spanish/jquery/jquery-effects-show-method/index.md @@ -42,4 +42,4 @@ javascript $ (". myclass"). slideDown (); // expandirá el elemento con el ident #### Más información: -Método JQuery Show () en el [sitio web oficial](http://api.jquery.com/show/) \ No newline at end of file +Método jQuery Show () en el [sitio web oficial](http://api.jquery.com/show/) diff --git a/guide/spanish/jquery/jquery-html-method/index.md b/guide/spanish/jquery/jquery-html-method/index.md index afab64e31a8..540a49a3a56 100644 --- a/guide/spanish/jquery/jquery-html-method/index.md +++ b/guide/spanish/jquery/jquery-html-method/index.md @@ -1,9 +1,11 @@ ---- -title: HTML Method -localeTitle: Método HTML ---- # Método HTML +--- +title: HTML Method +localeTitle: Método HTML +--- -El método `.html()` Jquery obtiene el contenido de un elemento HTML o establece el contenido de un elemento HTML. +# Método HTML + +El método `.html()` jQuery obtiene el contenido de un elemento HTML o establece el contenido de un elemento HTML. ## Consiguiendo @@ -37,4 +39,4 @@ Eso establecerá el contenido de todos los elementos `

    ` en Hello World! ### Más información -[Escuelas w3](https://www.w3schools.com/jquery/html_html.asp) \ No newline at end of file +[Escuelas w3](https://www.w3schools.com/jquery/html_html.asp) diff --git a/guide/spanish/jquery/jquery-selectors/index.md b/guide/spanish/jquery/jquery-selectors/index.md index a47de21df53..c03058713fc 100644 --- a/guide/spanish/jquery/jquery-selectors/index.md +++ b/guide/spanish/jquery/jquery-selectors/index.md @@ -118,7 +118,7 @@ Otro selector de filtrado,: `:contains(text)` , selecciona elementos que tienen $("p:contains('World')").css("color", "yellow"); ``` -De manera similar, el `:last` selector selecciona el elemento que es el último hijo de su padre. El selector JQuery a continuación selecciona el último elemento `

  • ` en la lista, el elemento de la lista "Tres", y luego usa el método `.css` para convertir el texto en amarillo. +De manera similar, el `:last` selector selecciona el elemento que es el último hijo de su padre. El selector jQuery a continuación selecciona el último elemento `
  • ` en la lista, el elemento de la lista "Tres", y luego usa el método `.css` para convertir el texto en amarillo. `$("li:last").css("color", "yellow");` @@ -133,4 +133,4 @@ Estos son solo algunos de los selectores disponibles para usar en jQuery. Consul #### Más información: -* [Lista completa de selectores jQuery](http://api.jquery.com/category/selectors/) \ No newline at end of file +* [Lista completa de selectores jQuery](http://api.jquery.com/category/selectors/) diff --git a/guide/spanish/miscellaneous/learn-about-jsonp/index.md b/guide/spanish/miscellaneous/learn-about-jsonp/index.md index a560ebae221..b480354472e 100644 --- a/guide/spanish/miscellaneous/learn-about-jsonp/index.md +++ b/guide/spanish/miscellaneous/learn-about-jsonp/index.md @@ -23,6 +23,6 @@ Esto activa una devolución de llamada automática después de que los datos se ### Más información: * [Wikipidea / JSONP](https://en.wikipedia.org/wiki/JSONP) -* [JSONP y JQuery](https://learn.jquery.com/ajax/working-with-jsonp) -* [Más JSONP con JQuery](http://api.jquery.com/jquery.getjson/#jsonp) -* [Ajax y JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp) \ No newline at end of file +* [JSONP y jQuery](https://learn.jquery.com/ajax/working-with-jsonp) +* [Más JSONP con jQuery](http://api.jquery.com/jquery.getjson/#jsonp) +* [Ajax y JSONP](http://stackoverflow.com/questions/5943630/basic-example-of-using-ajax-with-jsonp)