Code Monkey home page Code Monkey logo

lap1_js_intro's Introduction

Intro to JavaScript

  • Fork and clone the repo
  • In your terminal - npm install

Your goal is to solve the challenges below, the tests will tell you what to do :)

01 - hello

  • npm run hello

02 - add

  • npm run add

03 - capitalise

  • npm run capitalise
  • solve using String.prototype.slice

04 - swapcase

  • npm run swapcase

05 - reverse1

  • npm run reverse1
  • solve using a for loop

06 - upcase

  • npm run upcase
  • solve using forEach Array.prototype.forEach

07 - downcase

  • npm run downcase
  • solve using map Array.prototype.map

08 - evens

  • npm run evens
  • solve using filter Array.prototype.filter

09 - howIndex

  • npm run howIndex
  • solve using indexOf Array.prototype.indexOf

10 - reverse3

  • npm run reverse3
  • solve using join and split Array.prototype.join() and String.prototype.split() (not necessarily in that order)

11 - max

  • npm run max
  • solve using reduce Array.prototype.reduce

12 - sort

  • npm run sortWords
  • solve using sort Array.prototype.sort

13 - sortedNames

  • npm run sortedNames
  • solve using sort Array.prototype.sort

lap1_js_intro's People

Contributors

asninee avatar rom-30 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.