Skip to content

aritrac/Basic-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic-Javascript

Contains basic code snippets to understand Javascript

The order of the code that you would follow is this:

1)Comment your JavaScript Code

2)Declare JavaScript Variables

3)Storing Values with the Assignment Operator

4)Initializing Variables with the Assignment Operator

5)Understanding Uninitialized Variables

6)Understanding Case Sensitivity in Variables

7)Add Two Numbers with JavaScript

8)Subtract One Number from Another with JavaScript

9)Multiply Two Numbers with JavaScript

10)Divide One Number by Another with JavaScript

11)Increment a Number with JavaScript

12)Decrement a Number with JavaScript

13)Create Decimal Numbers with JavaScript

14)Multiply Two Decimals with JavaScript

15)Divide one Decimal by Another with JavaScript

16)Finding a Remainder in JavaScript

17)Compound Assignment With Augmented Addition

18)Compound Assignment With Augmented Subtraction

19)Compound Assignment With Augmented Multiplication

20)Compound Assignment With Augmented Division

21)Convert Celsius to Fahrenheit

22)Declare String Variables

23)Escaping Literal Quotes in Strings

24)Quoting Strings with Single Quotes

25)Escape Sequences in Strings

26)Concatenating Strings with Plus Operator

27)Concatenating Strings with the Plus Equals Operator

28)Constructing Strings with Variables

29)Appending Variables to Strings

30)Find the Length of a String

31)Use Bracket Notation to Find the First Character in a String

32)Understand String Immutability

33)Use Bracket Notation to Find the Nth Character in a String

34)Use Bracket Notation to Find the Last Character in a String

35)Use Bracket Notation to Find the NthtoLast Character in a String

36)Word Blanks

37)Store Multiple Values in one Variable using JavaScript Arrays

38)Nest one Array within Another Array

39)Access Array Data with Indexes

40)Modify Array Data With Indexes

41)Access MultiDimensional Arrays With Indexes

42)Manipulate Arrays With push

43)Manipulate Arrays With pop

44)Manipulate Arrays With shift

45)Manipulate Arrays With unshift

46)Shopping List

48)Write Reusable JavaScript with Functions

49)Passing Values to Functions with Arguments

50)Global Scope and Functions

51)Local Scope and Functions

52)Global vs Local Scope in Functions

53)Return a Value from a Function with Return

54)Assignment with a Returned Value

55)Stand in Line

56)Understanding Boolean Values

57)Use Conditional Logic with If Statements

58)Comparison with the Equality Operator

59)Comparison with the Strict Equality Operator

60)Comparison with the Inequality Operator

61)Comparison with the Strict Inequality Operator

62)Comparison with the Greater Than Operator

63)Comparison with the Greater Than Or Equal To Operator

64)Comparison with the Less Than Operator

65)Comparison with the Less Than Or Equal To Operator

66)Comparisons with the Logical And Operator

67)Comparisons with the Logical Or Operator

68)Introducing Else Statements

69)Introducing Else If Statements

70)Logical Order in If Else Statements

71)Chaining If Else Statements

72)Golf Code

73)Selecting from many options with Switch Statements

74)Adding a default option in Switch statements

75)Multiple Identical Options in Switch Statements

76)Replacing If Else Chains with Switch

77)Returning Boolean Values from Functions

78)Return Early Pattern for Functions

79)Counting Cards

80)Build JavaScript Objects

81)Accessing Objects Properties with the Dot Operator

82)Accessing Objects Properties with Bracket Notation

83)Accessing Objects Properties with Variables

84)Updating Object Properties

85)Add New Properties to a JavaScript Object

86)Delete Properties from a JavaScript Object

87)Using Objects for Lookups

88)Testing Objects for Properties

89)Manipulating Complex Objects

90)Accessing Nested Objects

91)Accessing Nested Arrays

92)Iterate with JavaScript For Loops

93)Iterate Odd Numbers With a For Loop

94)Count Backwards With a For Loop

95)Iterate Through an Array with a For Loop

96)Nesting For Loops

97)Iterate with JavaScript While Loops

98)Profile Lookup

99)Generate Random Fractions with JavaScript

100)Generate Random Whole Numbers with JavaScript

101)Generate Random Whole Numbers within a Range

102)Sift through Text with Regular Expressions

103)Find Numbers with Regular Expressions

104)Find Whitespace with Regular Expressions

105)Invert Regular Expression Matches with JavaScript

About

Contains basic code snippets to understand Javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors