Giter Club home page Giter Club logo

javascript-and-es6-challenges's Introduction

JavaScript-and-ES6-Challenges

Step-by-step guide to clone and use repository:

  1. git clone https://github.com/bstashchuk/JavaScript-and-ES6-Challenges

  2. cd JavaScript-and-ES6-Challenges

  3. Run npm install -g lite-server

  4. Each Challenge has two branches start and finish.

In order to start with specific challenge checkout corresponding start branch like

git checkout CHALLENGE-1/sum-numbers/start

Run lite-server. Your browser will open at localhost:3000 and if you open the JS console in the browser you'll see the output from the current challenge.

  1. Open directory in the favorite IDE. As you change your code, the browser output will update.

If you don't know how to solve the challenge, google the topic. You will learn a lot unless you are a JS pro already :)

Once you're satisfied, you can check the solution.

  1. Solution for each challenge is available in the finish branches like

git checkout CHALLENGE-1/sum-numbers/finish

  1. There is discussion of the solutions from the author at https://www.oreilly.com/library/view/javascript-and-es6/9781789955606/ (get Prodigy to pay for your ACM membership to discuss this content)

List of all challenges:

  • Challenge 1 - Sum numbers
  • Challenge 2 - Const
  • Challenge 3 - Let
  • Challenge 4 - Hoisting
  • Challenge 5 - Ternary Operator
  • Challenge 6 - Arrow Functions
  • Challenge 7 - Default parameters
  • Challenge 8 - Check presence of the function parameters
  • Challenge 9 - Object Destructuring
  • Challenge 10 - Destructuring and Rest Operator
  • Challenge 11 - Spread Operator
  • Challenge 12 - Copy Array
  • Challenge 13 - Template Literals
  • Challenge 14 - Object Destructuring
  • Challenge 15 - Iterate over String
  • Challenge 16 - Swap values of the two variables
  • Challenge 17 - IIFE (Immediately Invoked Function Expression)
  • Challenge 18 - Classes
  • Challenge 19 - Iterate over Object
  • Challenge 20 - Sum of positive and negative numbers

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.