Giter Site home page Giter Site logo

learnjavascript's Introduction

Learn Javascript

Circle-75 is a learning circle at AltSchool Africa. We decided to come together as a group to learn JavaScript together and practice exercises in an attempt to all gain a better understanding of JavaScript.

Pages

  • index.js : Contains the basics of JavaScript. It has variable declaration, data types, type conversion, basic operations and operators in JavaScript.

  • conditionals.js : Here, we looked at the different ways of writing conditional statements using:

    • if-else statements
    • switch statements
    • ternary operators
  • functions.js : In this file, we looked at the diffrent ways to write functions:

    • Function declaration,
    • Function expression,
    • Arrow function,
    • Modern arrow function.
  • We also learnt about callbacks, returning values and also learnt about naming functions appropriately.

  • loops.js : We looked at the types of loops and their syntax:

    • while loops
    • do-while loops
    • for loops
  • We took a quick look at Nested loops. We also looked at the use at the use of break and continue.

  • exercises.js: Contains practice questions for the things that we have learnt so far.

  • objects.js: We dealt with basics of objects

    • The use of bracket and dot notation
    • Comparing objects
    • The for...in loops
  • Arrays: This folder will contain everything that will be learnt about arrays. For now, it contains:

    • introArr.js: The basics of arrays

    • arrayMethods.js: The methods available to arrays

      • push/pop method
      • shift/unshift method
      • toString method
      • splice/slice
      • concat method
    • iterators.js: Talks about array Iterators: The use of forEach loops compared to for loops and for...of loops.

    • searcharray.js: Talks about the array methods that can be used to search through an array:

      • IndexOf/lastIndexOf
      • Includes
      • find/findIndex
      • filter
    • transformArray.js: Talks about the array methods that can be used to transform an array.

      • split method
      • join method
      • sort method
      • reverse method
      • reduce/reduceRight method
      • map method
    • map-set.js: Explains the use of maps and sets in JavaScript

    • arrayexercises.js: Contains practice exercises on the different available array methods.

  • strings.js: Contains the different methods that are available to strings.

    • charAt(index)
    • charCodeAt(index)
    • concat method
    • includes method
    • indexOf(), lastIndexOf()
    • length
    • slice, substring()
    • toUpperCase(), tolowerCase()
    • trim()
    • replace()
    • split()
  • dateTime: This contains information on different ways of creating date and time in JavaScript

  • exercises2.js: Part 2 to our practice questions for the things that we have learnt. Currently contains Date and Time exercises.

  • promises: An introduction to promises and asynchronous activities in JavaScript. Contains information on:

    • Promises
    • chaining promises
    • async/await
    • promise.all
    • catching errors and using promises.
    • exercises: Contains practice exercises on Promises.
  • prototypes: We look at protypes and constructors.

    • prototypes.js: We look at [[Prototype]] and it's significance to JavaScript.
    • classes.js & classes2.js:Explains classes and constructors
    • -fPrototypes.js: A quick look at F prototype.
    • nativePrototype.js: Explains the native prototypes in Javascript
  • advancedFunctions: A bigger look at functions.

    • recursion.js: Explains recursion and it's uses. A quick look at stacks, binary tree and linked lists.
    • rest.js: Rest parameters, arguments variable and spread operators.
    • binding.js: Explains the concept of binding in JavaScript.
    • closure.js
    • globalObject.js
    • recursion.js
    • scheduling.js: Explains the two methods that we have for scheduling events in JavaScript: setTimeout and setInterval.
    • exercises.js: Exercises on Advanced functions.
  • modules: Introduces us to the concept of modules in JS and how they come in handy in the use of JavaScript frameworks. Files include: index.js, index.mjs, math.js, math.mjsand module.js. module.js: Gives us a brief explanation on package installers and this is how we end up with node_modules, package-lock.json and package.json files

  • Will update this as we move forward.

learnjavascript's People

Contributors

saheedatt avatar

Stargazers

Aderibigbe Adekorede  avatar

Watchers

 avatar

Forkers

korede1004

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.