Skip to content

ITA-Manila-Lansaro/js-collection-prctice-in-browser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Collection Basic

Business Requirement:

  • section-1, compare and filter items from two arrays - 4 practices included
  • section-2, group and count items in an array - 3 practices included
  • section-3, compare, filter and count items in two arrays - 4 practices included

Practice Challenges:

  • Use loop and condition statements
  • Initiate an array
  • Append element into an array
  • Access element in an array
  • Access object properties
  • Create JavaScript object
  • Modify object's properties
  • Fetch specific part of String

Practice Requirements:

  • Pass all tests
  • No high order functions
  • No regular expressions
  • Commit frequently with readable comment via Git
  • Coding with keyboard shortcuts

Practice Output:

You can find requirement detail in the test code comments under spec\section-n directory. And you should put your code in the directory main.

For example, the production code of spec/section-1/practice-1-spec.js should be put into main/section-1/practice-1.js.

And then you should run corrresponding practice-[number]-run.html to validate whether your implementations are right or not.

Environment

A Brower like Chrome

How to begin:

  • Fork this repo
  • Clone forked repo from your github

Learning Resource

  1. JavaScript Basics
  2. JavaScript Code Camp
  3. Jasmine Tutorial
  4. Git Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.7%
  • HTML 11.3%