Code Monkey home page Code Monkey logo

javascript-exercises's Introduction

X-Team Challenge

Hello and welcome to the X-Team programming challenge. Follow the instructions below to get your solution, and paste it back into the form where you registered.

Prerequisites

You'll need to install nodejs to complete the task.

Don't worry if javascript is not your specialty, a basic understanding will be enough to get you through this first step.

Steps

The program in this challenge is a very simple messaging system. There is a database of messages, and users can read their messages one at a time.

To run the program there are 2 inputs you need:

  • a username
  • a hash of the last message you read (so you can read the next one)

Run the program like this:

node index.js <username> <hash>

To get the correct solution you must use the following inputs:

node index.js bigbird88 60b725f10c9c85c70d97880dfe8191b3

Copy the entire output of the program and paste it into the "Solution" field in the registration form, and you're done!

Task: fix the bugs

But wait! There are some bugs in the program that you'll need to fix first. Once you've fixed them the program will display some output like this:

from: @gordon
---
need ur help batman, come quick

There are also comments in the code that you'll need to read to understand what it's trying to do. Then look closely at the code and make sure it is doing what the comments say.

Help

If you get stuck at any point or think something is not working correctly, please contact [email protected].

javascript-exercises's People

Contributors

phanorcoll avatar

Watchers

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