diff --git a/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page.english.md b/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page.english.md index a90e1307e1..39825035a5 100644 --- a/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page.english.md @@ -13,7 +13,7 @@ You can use HTML, JavaScript, and CSS to complete this project. Plain CSS is rec User Story #1: I can see a main element with a corresponding id="main-doc", which contains the page's main content (technical documentation). User Story #2: Within the #main-doc element, I can see several section elements, each with a class of main-section. There should be a minimum of 5. User Story #3: The first element within each .main-section should be a header element which contains text that describes the topic of that section. -User Story #4: Each section element with the class of main-section should also have an id that corresponds with the text of each header contained within it. Any spaces should be replaced with underscores (e.g. The section that contains the header "Javascript and Java" should have a corresponding id="Javascript_and_Java"). +User Story #4: Each section element with the class of main-section should also have an id that corresponds with the text of each header contained within it. Any spaces should be replaced with underscores (e.g. The section that contains the header "JavaScript and Java" should have a corresponding id="JavaScript_and_Java"). User Story #5: The .main-section elements should contain at least 10 p elements total (not each). User Story #6: The .main-section elements should contain at least 5 code elements total (not each). User Story #7: The .main-section elements should contain at least 5 li items total (not each). diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md index 52262d78fb..7c0ae8fda6 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-class-syntax-to-define-a-constructor-function.english.md @@ -15,7 +15,7 @@ The class syntax simply replaces the constructor function creation: Notice that the class keyword declares a new function, and a constructor was added, which would be invoked when new is called - to create a new object.
Notes:
+
  • The constructor method is a special method for creating and initializing an object created with a class. You will learn more about it in the Object Oriented Programming section of the JavaScript Algorithms And Data Structures Certification.
  • ## Instructions diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/left-factorials.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/left-factorials.md index 572bb426dd..1f0e915f71 100644 --- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/left-factorials.md +++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/left-factorials.md @@ -73,7 +73,7 @@ function leftFactorial(n) { return 1; // Note: for n>=20, the result may not be correct. - // This is because Javascript uses 53 bit integers and + // This is because JavaScript uses 53 bit integers and // for n>=20 result becomes too large. let res = 2, fact = 2; @@ -86,4 +86,4 @@ function leftFactorial(n) { } ``` - \ No newline at end of file + diff --git a/guide/english/agile/acceptance-testing/index.md b/guide/english/agile/acceptance-testing/index.md index 9bfa51239a..276601cd7b 100644 --- a/guide/english/agile/acceptance-testing/index.md +++ b/guide/english/agile/acceptance-testing/index.md @@ -119,7 +119,7 @@ Acceptance testing can also validate if a completed epic/story/task fulfills the - FitNesse, a fork of Fit - iMacros - ItsNat Java Ajax web framework with built-in, server based, functional web testing capabilities. -- Mocha, a popular web acceptance test framework based on Javascript and Node.js +- Mocha, a popular web acceptance test framework based on JavaScript and Node.js - Ranorex - Robot Framework - Selenium diff --git a/guide/english/algorithms/greatest-common-divisor-euclidean/index.md b/guide/english/algorithms/greatest-common-divisor-euclidean/index.md index c7b32aa0f6..ccf8116553 100644 --- a/guide/english/algorithms/greatest-common-divisor-euclidean/index.md +++ b/guide/english/algorithms/greatest-common-divisor-euclidean/index.md @@ -42,7 +42,7 @@ Step 4: **Repeat Steps 2 and 3 until `a mod b` is greater than 0** Step 5: **GCD = b** Step 6: Finish -Javascript Code to Perform GCD- +JavaScript Code to Perform GCD- ```javascript function gcd(a, b) { var R; @@ -55,7 +55,7 @@ function gcd(a, b) { } ``` -Javascript Code to Perform GCD using Recursion- +JavaScript Code to Perform GCD using Recursion- ```javascript function gcd(a, b) { if (b == 0) diff --git a/guide/english/algorithms/search-algorithms/binary-search/index.md b/guide/english/algorithms/search-algorithms/binary-search/index.md index 859048a3ab..2aac7acfa8 100644 --- a/guide/english/algorithms/search-algorithms/binary-search/index.md +++ b/guide/english/algorithms/search-algorithms/binary-search/index.md @@ -92,7 +92,7 @@ Binary Search Trees are very powerful because of their O(log n) search times, se The code for recursive binary search is shown below: -### Javascript implementation +### JavaScript implementation ```javascript function binarySearch(arr, item, low, high) { @@ -120,9 +120,9 @@ var numbers = [1,2,3,4,5,6,7]; print(binarySearch(numbers, 5, 0, numbers.length-1)); ``` -Here is another implementation in Javascript: +Here is another implementation in JavaScript: -```Javascript +```JavaScript function binary_search(a, v) { function search(low, high) { if (low === high) { diff --git a/guide/english/algorithms/search-algorithms/linear-search/index.md b/guide/english/algorithms/search-algorithms/linear-search/index.md index fd5e2189a0..9f0b3eba90 100644 --- a/guide/english/algorithms/search-algorithms/linear-search/index.md +++ b/guide/english/algorithms/search-algorithms/linear-search/index.md @@ -55,7 +55,7 @@ int linearSearch(int arr[], int num) ``` -### Example in Javascript +### Example in JavaScript ```javascript function linearSearch(arr, item) { // Go through all the elements of arr to look for item. diff --git a/guide/english/algorithms/sorting-algorithms/insertion-sort/index.md b/guide/english/algorithms/sorting-algorithms/insertion-sort/index.md index 7eaa444ef3..76a00402a6 100644 --- a/guide/english/algorithms/sorting-algorithms/insertion-sort/index.md +++ b/guide/english/algorithms/sorting-algorithms/insertion-sort/index.md @@ -96,7 +96,7 @@ The algorithm shown below is a slightly optimized version to avoid swapping the arr[i+1] = key ``` -Here is a detailed implementation in Javascript: +Here is a detailed implementation in JavaScript: ``` function insertion_sort(A) { diff --git a/guide/english/algorithms/sorting-algorithms/selection-sort/index.md b/guide/english/algorithms/sorting-algorithms/selection-sort/index.md index f21afb0d23..95db5011e2 100644 --- a/guide/english/algorithms/sorting-algorithms/selection-sort/index.md +++ b/guide/english/algorithms/sorting-algorithms/selection-sort/index.md @@ -66,8 +66,8 @@ void recurSelectionSort(int a[], int n, int index = 0) } ``` -### Implementation in Javascript -``` Javascript +### Implementation in JavaScript +```js function selection_sort(A) { var len = A.length; for (var i = 0; i < len - 1; i = i + 1) { diff --git a/guide/english/angular/ngmodules/index.md b/guide/english/angular/ngmodules/index.md index ea8f6741ff..bcb228bab4 100644 --- a/guide/english/angular/ngmodules/index.md +++ b/guide/english/angular/ngmodules/index.md @@ -153,7 +153,7 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { AppService } from './app.service'; -// Javascript module system is strict about where it imports. It can only import at the top of files. +// JavaScript module system is strict about where it imports. It can only import at the top of files. // Angular NgModule uses those tokens in its metadata settings @NgModule({ // import { NgModule } from '@angular/core'; diff --git a/guide/english/canvas/index.md b/guide/english/canvas/index.md index c50e47493c..296dd1c607 100644 --- a/guide/english/canvas/index.md +++ b/guide/english/canvas/index.md @@ -3,7 +3,7 @@ title: Canvas --- ## HTML5 Canvas -Canvas is a technology introduced in HTML5 which can be accessed by the `` tag. It allows graphics to be drawn via Javascript, and is a powerful tool for interactivity on all modern web browsers. Learn how to draw shapes, manipulate photos, build games, and animate virtually anything following the links below! +Canvas is a technology introduced in HTML5 which can be accessed by the `` tag. It allows graphics to be drawn via JavaScript, and is a powerful tool for interactivity on all modern web browsers. Learn how to draw shapes, manipulate photos, build games, and animate virtually anything following the links below! ## Usage diff --git a/guide/english/certifications/coding-interview-prep/data-structures/learn-how-a-stack-works/index.md b/guide/english/certifications/coding-interview-prep/data-structures/learn-how-a-stack-works/index.md index 6781fd71a6..3c6bbcb15c 100644 --- a/guide/english/certifications/coding-interview-prep/data-structures/learn-how-a-stack-works/index.md +++ b/guide/english/certifications/coding-interview-prep/data-structures/learn-how-a-stack-works/index.md @@ -7,7 +7,7 @@ title: Learn how a Stack Works - Stacks are an abstract data structures. - They follow LIFO (Last In First Out) or FILO (First In Last Out) principle. - Stack's insertion and deletion operations are of **O(1)** time complexity. -- In Javascript, arrays can be treated as a Stack since `.push()` and `.pop()` methods have time complexity of **O(1)**. +- In JavaScript, arrays can be treated as a Stack since `.push()` and `.pop()` methods have time complexity of **O(1)**. - In this challenge we need to `.pop()` and then `.push()` into the stack. ### Solution: diff --git a/guide/english/certifications/front-end-libraries/react/add-comments-in-jsx/index.md b/guide/english/certifications/front-end-libraries/react/add-comments-in-jsx/index.md index 807a83385e..33cffde57a 100644 --- a/guide/english/certifications/front-end-libraries/react/add-comments-in-jsx/index.md +++ b/guide/english/certifications/front-end-libraries/react/add-comments-in-jsx/index.md @@ -2,7 +2,7 @@ title: Add Comments in JSX --- ## Add Comments in JSX -You can comment as you used to do with code blocks in Javascript `/* some JS code */` but they need to wrapped by curly braces to add comments in JSX: +You can comment as you used to do with code blocks in JavaScript `/* some JS code */` but they need to wrapped by curly braces to add comments in JSX: For example: * Single-line comment: ```jsx diff --git a/guide/english/certifications/front-end-libraries/react/create-a-react-component/index.md b/guide/english/certifications/front-end-libraries/react/create-a-react-component/index.md index 746447be64..51838947e6 100644 --- a/guide/english/certifications/front-end-libraries/react/create-a-react-component/index.md +++ b/guide/english/certifications/front-end-libraries/react/create-a-react-component/index.md @@ -26,4 +26,4 @@ class MyComponent extends React.Component { }; ``` -Note that you don't need to put quotes around the text, because when you are working with JSX it is treated as HTML. Also check to make sure your spelling, case, and punctuation are correct! If all this code looks strange, go check out some of the great material on Javascript ES6 here on freeCodeCamp. +Note that you don't need to put quotes around the text, because when you are working with JSX it is treated as HTML. Also check to make sure your spelling, case, and punctuation are correct! If all this code looks strange, go check out some of the great material on JavaScript ES6 here on freeCodeCamp. diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator/index.md index 85dc9739fe..4c1cf1d8f5 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator/index.md @@ -36,7 +36,7 @@ testEqual(10); The function first evaluates `if` the condition `(val == 12)` evaluates to `true`. If it does, it returns the statement between the curly braces ("Equal"). If it doesn't, it returns the next `return` statement outside them ("Not equal"). ### Sources -1. ["Basic JavaScript: Comparison with the Equality Operator", fCC lesson at *Javascript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator) +1. ["Basic JavaScript: Comparison with the Equality Operator", fCC lesson at *JavaScript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator) ### Resources diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator/index.md index 46f9ca7c45..e5d19603a1 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator/index.md @@ -40,9 +40,9 @@ testStrict(10); The function first evaluates `if` the condition `(val === 7)` evaluates to `true`. If it does, it returns the statement between the curly braces ("Equal"). If it doesn't, it returns the next `return` statement outside them ("Not equal"). ### Sources -1. ["Basic JavaScript: Comparison with the Equality Operator", fCC lesson at *Javascript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator) +1. ["Basic JavaScript: Comparison with the Equality Operator", fCC lesson at *JavaScript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-equality-operator) -2. ["Basic JavaScript: Comparison with the Strict Equality Operator", fCC lesson at *Javascript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator) +2. ["Basic JavaScript: Comparison with the Strict Equality Operator", fCC lesson at *JavaScript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator) ### Resources diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/counting-cards/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/counting-cards/index.md index 420655e7a4..2c3bfe01ed 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/counting-cards/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/counting-cards/index.md @@ -131,4 +131,4 @@ function cc(card) { * Card counting at Wikipedia * Challenge: Selecting from many options with Switch Statements * Challenge: Chaining If Else Statements -* Challenge: Increment a Number with Javascript +* Challenge: Increment a Number with JavaScript diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript/index.md index 3a250215ac..e6391a620a 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript/index.md @@ -3,7 +3,7 @@ title: Divide One Decimal by Another with JavaScript --- # Divide One Decimal by Another with JavaScript -Javascript uses the `/` symbol for division. +JavaScript uses the `/` symbol for division. var quotient = 0.6 / 0.3; //quotient gets the value 2 diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript/index.md index 83fcb59259..a29d08eec6 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/divide-one-number-by-another-with-javascript/index.md @@ -3,7 +3,7 @@ title: Divide One Number by Another with JavaScript --- # Divide One Number by Another with JavaScript -Javascript uses the `/` symbol for division. +JavaScript uses the `/` symbol for division. var quotient = 6 / 3; //quotient will get value 2 diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/index.md index 0cd2e26bdb..900d8e6d6f 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/index.md @@ -1,7 +1,7 @@ --- -title: Basic Javascript +title: Basic JavaScript --- -## Basic Javascript +## Basic JavaScript This is a stub. Help our community expand it. diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/multiple-identical-options-in-switch-statements/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/multiple-identical-options-in-switch-statements/index.md index 48b7d43b13..822ca595a0 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/multiple-identical-options-in-switch-statements/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/multiple-identical-options-in-switch-statements/index.md @@ -89,4 +89,4 @@ sequentialSizes(1); Since you already have a variable named `answer` defined and the function returns it, you can just modify its value on each group of case statements to fit the exercise requirements. ### Resources -- ["Switch: Methods for multi-criteria case" - *MDN Javascript Reference*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) +- ["Switch: Methods for multi-criteria case" - *MDN JavaScript Reference*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/switch) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/practice-comparing-different-values/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/practice-comparing-different-values/index.md index b2ff5a39c4..1dbaea0ddb 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/practice-comparing-different-values/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/practice-comparing-different-values/index.md @@ -36,7 +36,7 @@ The function first evaluates `if` the condition `(a === b)` evaluates to `true` ### Sources -1. ["Basic JavaScript: Comparison with the Strict Equality Operator", fCC lesson at *Javascript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator) +1. ["Basic JavaScript: Comparison with the Strict Equality Operator", fCC lesson at *JavaScript Algorithms And Data Structures Certification*](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comparison-with-the-strict-equality-operator) ### Resources diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/returning-boolean-values-from-functions/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/returning-boolean-values-from-functions/index.md index 0d5166ab7c..8904a5dd7b 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/returning-boolean-values-from-functions/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/returning-boolean-values-from-functions/index.md @@ -41,4 +41,4 @@ isLess(10, 15); Run code at [repl.it](https://repl.it/@AdrianSkar/Basic-Js-Returning-boolean-from-function). ### Resources -- ["Less than or equal operator (<=)" - *MDN Javascript Reference*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Less_than_or_equal_operator_(%3C)) \ No newline at end of file +- ["Less than or equal operator (<=)" - *MDN JavaScript Reference*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Less_than_or_equal_operator_(%3C)) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console/index.md index b1389089a4..37a212c5a7 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/debugging/understanding-the-differences-between-the-freecodecamp-and-browser-console/index.md @@ -7,11 +7,11 @@ title: Understanding the Differences between the freeCodeCamp and Browser Consol So were exactly do you run this *console.log()* command? In order to see the difference between the live console (terminal of freecodecamp) and our browser console we need to open up the console in our browser. Contemporary internet browser have a built in feature called Developer Tools which, among others contains a live console. -In this console we can execute Javascript commands and see the result. It behaves in a same manner as the window we write code here in Freecodecamp! +In this console we can execute JavaScript commands and see the result. It behaves in a same manner as the window we write code here in Freecodecamp! ***Please follow the instructions provided and copy paste the JS code provided to the example from FCC to your browser's console!*** -Depending on your browser, in order to open up the Javascript console you need to: +Depending on your browser, in order to open up the JavaScript console you need to: ## Chrome: * Click the the following: Menu->More Tools->Developer Tools->Console tab diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/es6/set-default-parameters-for-your-functions/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/es6/set-default-parameters-for-your-functions/index.md index f10316b0ba..9a79ceb185 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/es6/set-default-parameters-for-your-functions/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/es6/set-default-parameters-for-your-functions/index.md @@ -57,7 +57,7 @@ console.log(increment(5)); // returns NaN Relevant Links: -[Javascript default parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters) +[JavaScript default parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters) # :clipboard: NOTES FOR CONTRIBUTIONS: diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype/index.md index aed338927d..72294cdd89 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype/index.md @@ -29,5 +29,5 @@ var new_s = s.myMap(function(item){ ``` ### Useful Links -[this. Javascript MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this)
    -[this. Javascript W3Schools](https://www.w3schools.com/js/js_this.asp) +[this. JavaScript MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this)
    +[this. JavaScript W3Schools](https://www.w3schools.com/js/js_this.asp) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/index.md index 01a6cb9fd2..173735f5da 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/index.md @@ -1,7 +1,7 @@ --- -title: Javascript Algorithms and Data Structures +title: JavaScript Algorithms and Data Structures --- -## Javascript Algorithms and Data Structures +## JavaScript Algorithms and Data Structures This is a stub. Help our community expand it. diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/index.md index 12171971fc..fa95894fd7 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/index.md @@ -3,7 +3,7 @@ title: Intermediate Algorithm Scripting --- ## Intermediate Algorithm Scripting -This section contains intermediate level coding problems that will test your ability to solve complex problems similar to those that you may see in real situations using Javascript. All the best! +This section contains intermediate level coding problems that will test your ability to solve complex problems similar to those that you may see in real situations using JavaScript. All the best! #### More Information: diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/index.md index ddc011453b..f9f20daf94 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/index.md @@ -1,7 +1,7 @@ --- -title: Javascript Algorithms and Data Structures Projects +title: JavaScript Algorithms and Data Structures Projects --- -## Javascript Algorithms and Data Structures Projects +## JavaScript Algorithms and Data Structures Projects This is a stub. Help our community expand it. diff --git a/guide/english/clojure/conditionals/index.md b/guide/english/clojure/conditionals/index.md index 0dc7b9e3b6..d31052954a 100644 --- a/guide/english/clojure/conditionals/index.md +++ b/guide/english/clojure/conditionals/index.md @@ -86,7 +86,7 @@ The first expression gets evaluated if it's false, and the second gets evaluated **Note:** There is no `when/else`. `when` _only_ executes if the condition is true. -`cond` allows you to combine many conditions into a single expression. It takes a sequence of logical expression and expression pairs and evaluate each logical expression in order. When it finds a logical expression that evaluates to `true`, it evaluates the second expression of the pair. After this, no other expressions are evaluated. This behavior is like short-circuit logic in Javascript. +`cond` allows you to combine many conditions into a single expression. It takes a sequence of logical expression and expression pairs and evaluate each logical expression in order. When it finds a logical expression that evaluates to `true`, it evaluates the second expression of the pair. After this, no other expressions are evaluated. This behavior is like short-circuit logic in JavaScript. (cond (= 0 1) "I'm paired with a false expression and I don't evalute.." (= 1 1) "I'm the first expression paired with a true expression!" diff --git a/guide/english/clojure/hashmaps/index.md b/guide/english/clojure/hashmaps/index.md index 259ea9e627..35aa0a05b7 100644 --- a/guide/english/clojure/hashmaps/index.md +++ b/guide/english/clojure/hashmaps/index.md @@ -1,7 +1,7 @@ --- title: Clojure Hashmaps --- -A hashmap is a collection that maps keys to values. They have various names in other languages; Python refers to them as dictionaries, and Javascript's objects essentially work like hashmaps. +A hashmap is a collection that maps keys to values. They have various names in other languages; Python refers to them as dictionaries, and JavaScript's objects essentially work like hashmaps. A hashmap can, like many collections, be constructed in two ways. There is the constructor function: @@ -92,4 +92,4 @@ A hashmap is useful when you want to give names to your variables. If you're eve They are also useful if you want to associate two different values with each other. Take, for example, a ROT13 cipher: you could associate `\A` with `\N`, `\B` with `\M`, etc. (This would be long and boring to write in most languages, but Clojure has some functions that can generate it for you and make it _fun!_) | [![:point_left:](//forum.freecodecamp.com/images/emoji/emoji_one/point_left.png?v=2 ":point_left:") Previous](//forum.freecodecamp.com/t/clojure-vectors/18421) | [![:book:](//forum.freecodecamp.com/images/emoji/emoji_one/book.png?v=2 ":book:") Home ![:book:](//forum.freecodecamp.com/images/emoji/emoji_one/book.png?v=2 ":book:")](//forum.freecodecamp.com/t/clojure-resources/18422) | Next ![:point_right:](//forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=2 ":point_right:") | -| [Vectors](//forum.freecodecamp.com/t/clojure-vectors/18421) | [Table of Contents](//forum.freecodecamp.com/t/clojure-resources/18422) | To Be Added | \ No newline at end of file +| [Vectors](//forum.freecodecamp.com/t/clojure-vectors/18421) | [Table of Contents](//forum.freecodecamp.com/t/clojure-resources/18422) | To Be Added | diff --git a/guide/english/clojure/vectors/index.md b/guide/english/clojure/vectors/index.md index e909a0bcf5..9f565c645e 100644 --- a/guide/english/clojure/vectors/index.md +++ b/guide/english/clojure/vectors/index.md @@ -1,7 +1,7 @@ --- title: Clojure Vectors --- -A vector is perhaps the most simple type of collection in Clojure. You can think of it like an array in Javascript. Let's define a simple vector: +A vector is perhaps the most simple type of collection in Clojure. You can think of it like an array in JavaScript. Let's define a simple vector: (def a-vector [1 2 3 4 5]) ;; Alternatively, use the vector function: @@ -60,4 +60,4 @@ Non-vector data structures can be converted into vectors using the `vec` functio A vector should be used in almost all cases if you need a collection, because they have the shortest random-access times, which makes it easy to retrieve items from a vector. Note that vectors are ordered. If order doesn't matter, it may be better to use a set. Also note that vectors are designed for appending items; if you need to prepend items, you might want to use a list. | [![:point_left:](//forum.freecodecamp.com/images/emoji/emoji_one/point_left.png?v=2 ":point_left:") Previous](//forum.freecodecamp.com/t/clojure-lists-they-are-everything/18417) | [![:book:](//forum.freecodecamp.com/images/emoji/emoji_one/book.png?v=2 ":book:") Home ![:book:](//forum.freecodecamp.com/images/emoji/emoji_one/book.png?v=2 ":book:")](//forum.freecodecamp.com/t/clojure-resources/18422) | [Next ![:point_right:](//forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=2 ":point_right:")](//forum.freecodecamp.com/t/clojure-hashmaps/18414)| -| [Lists](//forum.freecodecamp.com/t/clojure-lists-they-are-everything/18417) | [Table of Contents](//forum.freecodecamp.com/t/clojure-resources/18422) | [Hashmaps](//forum.freecodecamp.com/t/clojure-hashmaps/18414)| \ No newline at end of file +| [Lists](//forum.freecodecamp.com/t/clojure-lists-they-are-everything/18417) | [Table of Contents](//forum.freecodecamp.com/t/clojure-resources/18422) | [Hashmaps](//forum.freecodecamp.com/t/clojure-hashmaps/18414)| diff --git a/guide/english/computer-science/compilers/index.md b/guide/english/computer-science/compilers/index.md index e2acb34151..d08b6db9d9 100644 --- a/guide/english/computer-science/compilers/index.md +++ b/guide/english/computer-science/compilers/index.md @@ -14,7 +14,7 @@ ADD 10, 20 // ADD is the Opcode // and 10, 20 are the two operands(data) // needed for the ADD instruction to be executed successfully ``` -Humans develop programs to solve complex problems. Looking at how simple opcodes are, if we try to develop programs using opcodes alone, it will be very cumbersome and difficult to debug. To solve this problem, high level languages like C/C++, Python, Java, Javascript, etc were developed. +Humans develop programs to solve complex problems. Looking at how simple opcodes are, if we try to develop programs using opcodes alone, it will be very cumbersome and difficult to debug. To solve this problem, high level languages like C/C++, Python, Java, JavaScript, etc were developed. Now, high level languages aren't suitable for execution by computers. Hence, the need arose for a translator that can digest the high-level language programs and convert them to machine language instructions suitable for execution by a computer. diff --git a/guide/english/computer-science/data-structures/linked-lists/index.md b/guide/english/computer-science/data-structures/linked-lists/index.md index 00fe0c8a88..1259f4b23c 100644 --- a/guide/english/computer-science/data-structures/linked-lists/index.md +++ b/guide/english/computer-science/data-structures/linked-lists/index.md @@ -13,7 +13,7 @@ A linked list is a simple data structure, but it can be used to implement more c Linked List | (Introduction) -Like arrays, Linked List is a linear data structure. Unlike arrays, linked list elements are not stored at contiguous location; the elements are linked using pointers or like in the example using Javascript, a reference to the next node. +Like arrays, Linked List is a linear data structure. Unlike arrays, linked list elements are not stored at contiguous location; the elements are linked using pointers or like in the example using JavaScript, a reference to the next node. If you want to understand Linked Lists, it helps to understand **Arrays**. @@ -320,7 +320,7 @@ Types: 2) (Doubly) In a 'doubly linked list', each node contains, besides the next-node link, a second link field pointing to the 'previous' node in the sequence. The two links may be called 'forward('s') and 'backwards', or 'next' and 'prev'('previous'). -Example in Javascript: +Example in JavaScript: ``` function LinkedList () { this.head = null; diff --git a/guide/english/csharp/async-await/index.md b/guide/english/csharp/async-await/index.md index 8d493b78f1..fb197651e1 100644 --- a/guide/english/csharp/async-await/index.md +++ b/guide/english/csharp/async-await/index.md @@ -4,7 +4,7 @@ title: Async / Await # Async / Await Keywords -The `async`/`await` keywords in C# provide convenient ways of managing resource-intensive applications, which are more common in front-end languages such as Javascript libraries. Methods that return `Task` types can be crowned with the `async` keyword, and when calling these methods in a UI handler or service workflow, we can use the `await` on the methods to tell C# to yield the control back to its caller until the background job is finished. By yielding the control on resources-intensive calls, we are able to allow UI to be more responsive and make the service more elastic. +The `async`/`await` keywords in C# provide convenient ways of managing resource-intensive applications, which are more common in front-end languages such as JavaScript libraries. Methods that return `Task` types can be crowned with the `async` keyword, and when calling these methods in a UI handler or service workflow, we can use the `await` on the methods to tell C# to yield the control back to its caller until the background job is finished. By yielding the control on resources-intensive calls, we are able to allow UI to be more responsive and make the service more elastic. The core of the `async` and `await` are the `Task` class. When using it along with the `async` keyword as the return type of a method, we indicate that the method has promised to return an object of the `T` type (for methods that wouldn't return any value, use `Task` as the return type instead). `Task` is a sophisticated topic of its own, for more information, please refer to the official documents: [Task Class](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task?view=netframework-4.7.1). diff --git a/guide/english/css/css-frameworks/css-framework-bootstrap/index.md b/guide/english/css/css-frameworks/css-framework-bootstrap/index.md index ccff02daec..ba47949d77 100644 --- a/guide/english/css/css-frameworks/css-framework-bootstrap/index.md +++ b/guide/english/css/css-frameworks/css-framework-bootstrap/index.md @@ -7,7 +7,7 @@ Bootstrap is the most popular CSS framework for developing responsive, mobile fi ## Getting Started - Latest version: 4.1 -Below is a simple HTML template which includes the latest compiled and minified CSS and Javascript for the Bootstrap library. We have used a CDN in this example, please see the official documentation for other ways of installing the latest version of Bootstrap. +Below is a simple HTML template which includes the latest compiled and minified CSS and JavaScript for the Bootstrap library. We have used a CDN in this example, please see the official documentation for other ways of installing the latest version of Bootstrap. ```html diff --git a/guide/english/css/css-frameworks/css-framework-foundation/index.md b/guide/english/css/css-frameworks/css-framework-foundation/index.md index 04a0f740bc..4255af6930 100644 --- a/guide/english/css/css-frameworks/css-framework-foundation/index.md +++ b/guide/english/css/css-frameworks/css-framework-foundation/index.md @@ -7,7 +7,7 @@ title: CSS Framework Foundation ## Getting Started -Here is a simple HTML template which includes the latest compiled and minified CSS and Javascript for the Foundation library. +Here is a simple HTML template which includes the latest compiled and minified CSS and JavaScript for the Foundation library. ```html diff --git a/guide/english/css/css-frameworks/css-framework-materialize/index.md b/guide/english/css/css-frameworks/css-framework-materialize/index.md index 6277d5b5ff..f503d4413c 100644 --- a/guide/english/css/css-frameworks/css-framework-materialize/index.md +++ b/guide/english/css/css-frameworks/css-framework-materialize/index.md @@ -7,7 +7,7 @@ Materialize is a Responsive CSS framework based on Google's here. -```html - - - - - - Semantic UI Template - - - -

    Hello World

    - - - - - -``` -## Learning Resources - -* The official documentation for Semantic UI is available here. -* Checkout Semantic UI's open source GitHub repository here. +--- +title: CSS Framework Semantic UI +--- +# CSS Framework Semantic UI + +Semantic UI is one of the most popular CSS framework for developing responsive, mobile first projects for the web. + +## Getting Started + +Here is a simple HTML template which includes the latest compiled and minified CSS and JavaScript for the Semantic UI library. We have used a CDN in this example, but you can checkout other ways of installing Semantic UI here. +```html + + + + + + Semantic UI Template + + + +

    Hello World

    + + + + + +``` +## Learning Resources + +* The official documentation for Semantic UI is available here. +* Checkout Semantic UI's open source GitHub repository here. diff --git a/guide/english/css/tutorials/introduction-to-css/index.md b/guide/english/css/tutorials/introduction-to-css/index.md index 271d7299ce..01cee8d6cd 100644 --- a/guide/english/css/tutorials/introduction-to-css/index.md +++ b/guide/english/css/tutorials/introduction-to-css/index.md @@ -19,7 +19,7 @@ CSS was first proposed way back in 1994 by Håkon Wium Lie, who was working with Before CSS, developers would apply styles using attributes or special tags on each node of a page. This made markup repetitive and prone to errors. -CSS allows selectors to describe how each piece of matching content should look. It is an important technology of World Wide Web, along with HTML and Javascript. +CSS allows selectors to describe how each piece of matching content should look. It is an important technology of World Wide Web, along with HTML and JavaScript. ```CSS body { font-size: 15px; diff --git a/guide/english/design-patterns/functional-programming/index.md b/guide/english/design-patterns/functional-programming/index.md index cba3cdee39..dab87cc2b8 100644 --- a/guide/english/design-patterns/functional-programming/index.md +++ b/guide/english/design-patterns/functional-programming/index.md @@ -10,7 +10,7 @@ title: Functional Programming ### Why Functional Programming? -Functional programming (sometimes abbreviated as FP) has had a resurgence among Javascript developers recently because of the focus on functional programming principles in popular libraries such as [Redux](https://redux.js.org/). +Functional programming (sometimes abbreviated as FP) has had a resurgence among JavaScript developers recently because of the focus on functional programming principles in popular libraries such as [Redux](https://redux.js.org/). Although functional programming can be intimidating for some beginning developers, knowing some of the basics can be very useful regardless of what libraries you use. Specifically thinking about times when to use declarative programming and pure functions—for example, to keep code clean, easy to read, easy to test, and easy to maintain—helps as you move towards larger projects where you might be working with multiple developers and want a good [code smell](https://guide.freecodecamp.org/agile/code-smells/). It's also something often asked about briefly in coding interviews, so even knowing a few basic principles can be very helpful. This article represents only the most bare-bones overview; more research is recommended. diff --git a/guide/english/developer-tools/developer-tools-in-browsers/chrome-developer-tools/index.md b/guide/english/developer-tools/developer-tools-in-browsers/chrome-developer-tools/index.md index a92e357ba7..4a76c99837 100644 --- a/guide/english/developer-tools/developer-tools-in-browsers/chrome-developer-tools/index.md +++ b/guide/english/developer-tools/developer-tools-in-browsers/chrome-developer-tools/index.md @@ -4,7 +4,7 @@ title: Chrome Developer Tools ## Chrome Firefox Development Tools -Chrome and Firefox Developer tools assist web developers in analyzing the HTML, CSS and Javascript on a web page. They are useful for debugging, optimizing code, inspecting elements and much more. +Chrome and Firefox Developer tools assist web developers in analyzing the HTML, CSS and JavaScript on a web page. They are useful for debugging, optimizing code, inspecting elements and much more. **Features:** * **Page Inspector:** View and edit page content and layout. diff --git a/guide/english/developer-tools/developer-tools-in-browsers/firefox-developer-tools/index.md b/guide/english/developer-tools/developer-tools-in-browsers/firefox-developer-tools/index.md index 4d4231ef13..d7abeccdc9 100644 --- a/guide/english/developer-tools/developer-tools-in-browsers/firefox-developer-tools/index.md +++ b/guide/english/developer-tools/developer-tools-in-browsers/firefox-developer-tools/index.md @@ -3,7 +3,7 @@ title: Firefox Developer Tools --- ## Firefox Developer Tools -Firefox Developer tools aid web developers with writing, analyzing, and debugging HTML, CSS and Javascript code. +Firefox Developer tools aid web developers with writing, analyzing, and debugging HTML, CSS and JavaScript code. Core Features: diff --git a/guide/english/elm/index.md b/guide/english/elm/index.md index 2ebdfce3dc..43c6a9dc22 100644 --- a/guide/english/elm/index.md +++ b/guide/english/elm/index.md @@ -3,7 +3,7 @@ title: Elm --- ## Elm -[Elm](http://elm-lang.org/) is a domain-specific, purely functional programming language that compiles into Javascript. This programming language is statically typed, and was developed with an emphasis on usability, performance, and robustness. Elm was built by Evan Czaplicki in 2012, and was influenced by Haskell, Standard ML, and OCaml among others. It also helped to inspire the popular state management tool, Redux. +[Elm](http://elm-lang.org/) is a domain-specific, purely functional programming language that compiles into JavaScript. This programming language is statically typed, and was developed with an emphasis on usability, performance, and robustness. Elm was built by Evan Czaplicki in 2012, and was influenced by Haskell, Standard ML, and OCaml among others. It also helped to inspire the popular state management tool, Redux. ### The Elm Architecture diff --git a/guide/english/game-development/opengl/index.md b/guide/english/game-development/opengl/index.md index 9efea13eb4..cb848b5b63 100644 --- a/guide/english/game-development/opengl/index.md +++ b/guide/english/game-development/opengl/index.md @@ -12,7 +12,7 @@ Mesa 3D is an open-source implementation of OpenGL. It can do pure software rend ## Prerequisites -No special prerequisite is needed to follow most tutorials. Experience with any programming langage ( C, Java, Lisp, Javascript) is better to fully understand the code, but not needed; it will merely be more complicated to learn two things at the same time. +No special prerequisite is needed to follow most tutorials. Experience with any programming langage ( C, Java, Lisp, JavaScript) is better to fully understand the code, but not needed; it will merely be more complicated to learn two things at the same time. ## Installing OpenGL on Linux Mesa is the GL library used. Ubuntu 16.04 includes Mesa 11.2 which supports OpenGL 4.1. Just install the `libgl1-mesa-dev` and `mesa-common-dev` packages to install the development files for it. diff --git a/guide/english/go/go-maps/index.md b/guide/english/go/go-maps/index.md index 8054a149b0..9002fea87e 100644 --- a/guide/english/go/go-maps/index.md +++ b/guide/english/go/go-maps/index.md @@ -52,7 +52,7 @@ var m = map[string]bool{ } m["Go"] // true -m["JavaScript"] = true // Set Javascript to true +m["JavaScript"] = true // Set JavaScript to true delete(m, "JavaScript") // Delete "JavaScript" key and value language, ok = m["C++"] // ok is false, language is bool's zero-value (false) ``` diff --git a/guide/english/html/elements/script-tag/index.md b/guide/english/html/elements/script-tag/index.md index ce7c74a602..63a8a431b0 100644 --- a/guide/english/html/elements/script-tag/index.md +++ b/guide/english/html/elements/script-tag/index.md @@ -5,7 +5,7 @@ title: Script Tag The HTML Script tag is used to either contain client side JavaScript or reference an external JavaScript file using the script “src” attribute. -The ` ``` @@ -26,15 +26,15 @@ Or you can use it as a way to reference an external javascript file like this ``` ``` -You can see the official documentation for the script element on the [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script) \ No newline at end of file +You can see the official documentation for the script element on the [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script) diff --git a/guide/english/html/iframes/index.md b/guide/english/html/iframes/index.md index 195051bc3c..c35e5e2193 100644 --- a/guide/english/html/iframes/index.md +++ b/guide/english/html/iframes/index.md @@ -50,7 +50,7 @@ Any `` link can target the content of an `