Giter Club home page Giter Club logo

javascript-fundamentals's Introduction

JavaScript Fundamentals


Introduction

This repository introduces you to the fundamental concepts of the JavaScript language using a hands-on approach. Here we cover the following :

  • Objects
  • Arrays
  • Functions & Scope
  • Classes

Installation

Step 1 : Clone this repository.

git clone [email protected]:vjrngn/javascript-fundamentals.git

Step 2 : cd into that directory.

cd javascript-fundamentals

Step 3 : Once you're in the directory install all dependencies.

npm install

Usage

You will find each topic - Object, Arrays, Functions & Scope and Classes in it's own folder (or directory) within the Exercises folder (or directory).

Each topic has an Introduction.md file that explains the concept in-depth. Go through the Introduction.md file before attempting the exercises.

If you get stuck when trying to complete an exercise, refer back to the topic's Introduction.md file and you will find your answer there.

If, for some reason, the Introduction.md file does not help solving your bug / issue, refer the Mozilla Developer Network (MDN) documentation.


How do I know my solution is right ?

This repository uses the jest testing framework to ensure your solutions to the exercises are correct.

Before starting an exercise, start the appropriate test suite.

For example, if you start to work on Exercise1.js on Arrays, run the following command before writing your code :

npm run arrays:exercise1

All test commands follow the pattern topic:exercise{number}.

The test suite has been configured to run automatically every time you save the corresponding file.

Test command reference

Topic Exercise Test Command
Objects Exercise1 npm run objects:exercise1
Objects Exercise2 No tests for this exercise
Functions Exercise1 npm run functions:exercise1
Functions Exercise2 npm run functions:exercise2
Classes Exercise1 npm run classes:exercise1
Classes Exercise2 npm run classes:exercise2
Arrays Exercise1 npm run arrays:exercise1
Arrays Exercise2 npm run arrays:exercise2

javascript-fundamentals's People

Contributors

vjrngn avatar ankurheble avatar

Watchers

James Cloos avatar

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.