Skip to content

Files

Latest commit

820e094 · Dec 16, 2021

History

History

01-basic-javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021
Dec 16, 2021

Basic JavaScript

My solution proposals for the Basic JavaScript exercises.

freeCodeCamp module description:

"JavaScript is a scripting language you can use to make web pages interactive. It is one of the core technologies of the web, along with HTML and CSS, and is supported by all modern browsers. In this course, you'll learn fundamental programming concepts in JavaScript. You'll start with basic data structures like numbers and strings. Then you'll learn to work with arrays, objects, functions, loops, if/else statements, and more."

Exercises

  1. Comment Your JavaScript Code
  2. Declare JavaScript Variables
  3. Storing Values with the Assignment Operator
  4. Assigning the Value of One Variable to Another
  5. Initializing Variables with the Assignment Operator
  6. Declare String Variables
  7. Understanding Uninitialized Variables
  8. Understanding Case Sensitivity in Variables
  9. Explore Differences Between the var and let Keywords
  10. Declare a Read-Only Variable with the const Keyword
  11. Add Two Numbers with JavaScript
  12. Subtract One Number from Another with JavaScript
  13. Multiply Two Numbers with JavaScript
  14. Divide One Number by Another with JavaScript
  15. Increment a Number with JavaScript
  16. Decrement a Number with JavaScript
  17. Create Decimal Numbers with JavaScript
  18. Multiply Two Decimals with JavaScript
  19. Divide One Decimal by Another with JavaScript
  20. Finding a Remainder in JavaScript
  21. Compound Assignment With Augmented Addition
  22. Compound Assignment With Augmented Subtraction
  23. Compound Assignment With Augmented Multiplication
  24. Compound Assignment With Augmented Division
  25. Escaping Literal Quotes in Strings
  26. Quoting Strings with Single Quotes
  27. Escape Sequences in Strings
  28. Concatenating Strings with Plus Operator
  29. Concatenating Strings with the Plus Equals Operator
  30. Constructing Strings with Variables
  31. Appending Variables to Strings
  32. Find the Length of a String
  33. Use Bracket Notation to Find the First Character in a String
  34. Understand String Immutability
  35. Use Bracket Notation to Find the Nth Character in a String
  36. Use Bracket Notation to Find the Last Character in a String
  37. Use Bracket Notation to Find the Nth-to-Last Character in a String
  38. Word Blanks
  39. Store Multiple Values in one Variable using JavaScript Arrays
  40. Nest one Array within Another Array
  41. Access Array Data with Indexes
  42. Modify Array Data With Indexes
  43. Access Multi-Dimensional Arrays With Indexes
  44. Manipulate Arrays With push()
  45. Manipulate Arrays With pop()
  46. Manipulate Arrays With shift()
  47. Manipulate Arrays With unshift()
  48. Shopping List
  49. Write Reusable JavaScript with Functions
  50. Passing Values to Functions with Arguments
  51. Return a Value from a Function with Return
  52. Global Scope and Functions
  53. Local Scope and Functions
  54. Global vs. Local Scope in Functions
  55. Understanding Undefined Value returned from a Function
  56. Assignment with a Returned Value
  57. Stand in Line
  58. Understanding Boolean Values
  59. Use Conditional Logic with If Statements
  60. Comparison with the Equality Operator
  61. Comparison with the Strict Equality Operator
  62. Practice comparing different values
  63. Comparison with the Inequality Operator
  64. Comparison with the Strict Inequality Operator
  65. Comparison with the Greater Than Operator
  66. Comparison with the Greater Than Or Equal To Operator
  67. Comparison with the Less Than Operator
  68. Comparison with the Less Than Or Equal To Operator
  69. Comparisons with the Logical And Operator
  70. Comparisons with the Logical Or Operator
  71. Introducing Else Statements
  72. Introducing Else If Statements
  73. Logical Order in If Else Statements
  74. Chaining If Else Statements
  75. Golf Code
  76. Selecting from Many Options with Switch Statements
  77. Adding a Default Option in Switch Statements
  78. Multiple Identical Options in Switch Statements
  79. Replacing If Else Chains with Switch
  80. Returning Boolean Values from Functions
  81. Return Early Pattern for Functions
  82. Counting Cards
  83. Build JavaScript Objects
  84. Accessing Object Properties with Dot Notation
  85. Accessing Object Properties with Bracket Notation
  86. Accessing Object Properties with Variables
  87. Updating Object Properties
  88. Add New Properties to a JavaScript Object
  89. Delete Properties from a JavaScript Object
  90. Using Objects for Lookups
  91. Testing Objects for Properties
  92. Manipulating Complex Objects
  93. Accessing Nested Objects
  94. Accessing Nested Arrays
  95. Record Collection
  96. Iterate with JavaScript While Loops
  97. Iterate with JavaScript For Loops
  98. Iterate Odd Numbers With a For Loop
  99. Count Backwards With a For Loop
  100. Iterate Through an Array with a For Loop
  101. Nesting For Loops
  102. Iterate with JavaScript Do...While Loops
  103. Replace Loops using Recursion
  104. Profile Lookup
  105. Generate Random Fractions with JavaScript
  106. Generate Random Whole Numbers with JavaScript
  107. Generate Random Whole Numbers within a Range
  108. Use the parseInt Function
  109. Use the parseInt Function with a Radix
  110. Use the Conditional (Ternary) Operator
  111. Use Multiple Conditional (Ternary) Operators
  112. Use Recursion to Create a Countdown
  113. Use Recursion to Create a Range of Numbers
Disclaimer: This repository should not be viewed as a facilitator for these courses. This is intended to highlight and memorize my journey through this certification.