Code Monkey home page Code Monkey logo

js-fundys's Introduction

JavaScript Fundamentals

In this exercise, you'll need to solve a set of increasingly difficult puzzles aimed at helping you master the fundamentals of JavaScript. The exercise is split into two parts.

Part 1 has you wrestling with core JavaScript concepts.

  • Primitives
  • Functions
  • Declarations
  • Globals
  • Operators
  • Control flow

Part 2 builds on the above and has you wrestling with more essential concepts.

  • Functions (again)
  • Arrays
  • Objects
  • Iterations

Furthermore, each part has two components—an assignment and a bonus. Complete the each part's assignment before moving on to its respective bonus or the next part's assignment.

TIP: You're encouraged to use online documentation to lookup how to use unfamiliar concepts.

Setup

To get started, download this code onto your machine by following these setup instructions.

  1. Fork this repository to your own GitHub account.
  2. Clone your forked repository to your development environment.
  3. Open the repository's project directory in your text editor.
  4. Open the part1/assignment.html file in your web browser.

In your web browser, you'll see a page that shows a bunch of failing JavaScript tests. Locate the area that shows how many tests are passing and how many are failing.

How to proceed

Your job is to make all these JavaScript tests pass by completing their respective puzzle.

  1. Open the part1/assignment.js file in your text editor.
  2. Read the instructions for each puzzle.
  3. Solve the puzzle by writing JavaScript.

Once it's ready, test your solution.

  1. Tab over to the browser with Command + Tab.
  2. Refresh the browser with Command + R.
  3. Scroll to the puzzle's test and see if it's still red.
  4. Once the test is green, you've solved the puzzle.

You can see how each test invokes the puzzle's function by clicking on the test description.

Wrestle with it

You may encounter challenges that seem confusing or impossible. Don't despair! This exercise is designed to challenge you. Resist the urge to just copy-and-paste code from your classmates, but definitely ask for help and talk to your peers.

When you're done with the main assignment, your page should look like this. Green check marks next to each test means the entire test suite is passing.

Bonus

Looking for more challenge? Well, there's a whole set of bonus puzzles just waiting to be solved!

  1. Open the part1/bonus.html file in your web browser.
  2. Open the part1/bonus.js file in your text editor.
  3. You know the drill :)

But wait, there's more!

Don't forget about part 2 located in the part2/ directory. These puzzles will most likely make more sense once your instructor has gone over the next JavaScript concepts in class.

Deploy your work

Read over the following articles to learn how to deploy this web site to Surge.

A good domain name for this project is USERNAME-js-fundamentals.surge.sh where USERNAME is your GitHub username in all lowercase letters. Once deployed and everything works as you expect, copy your Surge URL and paste it at the top of your GitHub repository's page.

Submit your work

After everything works as you expect, it's time to submit your work.

  1. Deploy your project to Surge.
  2. Paste your Surge URL at the top of your GitHub repository's page.
  3. Push your code to GitHub, the origin remote.
  4. Copy the URL of your GitHub repository.
  5. Paste the GitHub URL in the textfield for the corresponding exercise.

js-fundys's People

Contributors

ryansobol avatar rogerwschmidt avatar kmcgrady avatar kopasetik avatar develemit avatar iansmith89 avatar joshwyatt avatar loganking avatar

Watchers

 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.