GithubHelp home page GithubHelp logo

javascript_101_meetup_exercises's Introduction

javascript_101_meetup_exercises

EXERCISES:

  1. INTRO: Create an array of String datatypes with length 5 & write a function to console.log each item in the array.

    INTERMEDIATE: Using the same array, write a function that loops through the array in reverse and logs each item in the array

    ADVANCED: Using the same array, write a function with an if/else statement that returns an array of just the odd index values

  2. INTRO: Create an object with properties name, age, hometown and give them values

    INTERMEDIATE: Create an array of objects with the above properties and write a function that creates an array of just the names

    ADVANCED: Create an array of objects with the above properties and return an array of just the objects with an age between 20 and 45;

  3. let x = 7; let y = 10;

INTRO: Write two statements using javascript operators that results in a true evaluation

INTERMEDIATE: Write an and statement or an or statement using javascript operators that results in a true evaluation

ADVANCED: Write a function that takes arguments x and y that creates an array of all of the numbers between x and y
  1. let nemoArray = ['Nemo', 'Dory', 'Peach', 'Pearl', 'Sheldon', 'Crush'];
INTRO: Write a function to return an array of the total length of each word in the nemo array

INTERMEDIATE: Write a function that creates a new array of all of the names that start with 'P';

ADVANCED: Use the javascript sort method to return the array in alphabetical order

javascript_101_meetup_exercises's People

Contributors

boristotle 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.