Coder Social home page Coder Social logo

basecamp-assessment-ii's Introduction

Basecamp JavaScript II Stretch Project

Objective

Show an understanding of the JavaScript concepts taught in Basecamp up to this point.

Directions

Fork this repo, clone your fork and then complete the challenges in assessment.js.

Open the index.html file in your browser to see unit tests reporting on your status.

Could not read from remote repository...

If you are trying to push your code and you receive the above error, please make sure you have forked and cloned the repository to your own GitHub account. If you are still having trouble, please review Computer Basics > Command Line & Git > Mini Project.

Contributions

If you see a problem or a typo, please fork, make the necessary changes, and create a pull request so we can review your changes and merge them into the master repo and branch.

Copyright

© DevMountain LLC, 2017. Unauthorized use and/or duplication of this material without express and written permission from DevMountain, LLC is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to DevMountain with appropriate and specific direction to the original content.

basecamp-assessment-ii's People

Contributors

bryansmith33 avatar devlemire avatar larryzli avatar nickbackus avatar paulhbarker avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

basecamp-assessment-ii's Issues

Potential wonky test with Problem #8

For problem #8.

	it("should return correct values", function () {
		expect(evensOnly()).toEqual([4, 34, 88, 222]);
	});

Had a student try to create the evensOnly function passing in myNumbers as a parameter and doing a map over the array causing it to throw an undefined array error even though their code was correct.

Would recommend changing the test or wording the directions better. Could also write a shell function for them to avoid confusion.

function evensOnly() {
     // CODE HERE
}

Wording on question #10

// #10 create a function called indexFinder and loop over the randomNumbers array below and return a new array called 'indexes' with just their indexes. Be sure to invoke indexFinder.

The phrase "...and return a new array called 'indexes'..." is not inline with the test. The test is asking for a global variable called "indexes" and the question sounds like it wants you to return an array called "indexes" in the function's return statement.

Could avoid some confusion by changing the wording to "...and return into a new array called 'indexes'...". Or by writing the test to match the question wording.

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.