Skip to content

Files

Latest commit

 

History

History
31 lines (21 loc) · 1.4 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.4 KB

Numbers

  • Objective - To create a shape-printer using console.log.
  • Purpose - To establish familiarity with basic Javascript.
  • Description
    • You are provided with a file located at ./assets/js/numbers.js
    • Edit the file by defining the respective function-stub.
    • The objective is to create a program which can parse a String representative of an arithmetic expressions and return a respective numeric value.

Part 1 - Clone the project

  • Begin by forking this project into a personal repository.
    • To do this, click the Fork button located at the top right of this page.
  • Navigate to your github profile to find the newly forked repository.
  • Clone the repository from your account into the ~/dev directory.
  • Open the newly cloned project in a code editor (Visual Studio Code, for example).

Part 2 - Modifying numbers.js

  • Upon cloning the project, from a browser, open the ./index.html located at the root of the project.
  • From the browser, open the insepctor-tools.
  • The inspector tools should reveal log messages from console displaying an expectedOutput and an actualOutput.
  • Modify ./assets/js/numbers.js to ensure that the expectedOutput and actualOutput are the same.

Part 3 - Submitting assignment

  • Upon completion, submit a pull request from your repository to this remote repository.