/TIY-Assignment-10

JS - An introduction to JS loops and iterations in which I created functions based on expected outputs.

Primary LanguageJavaScript

JS types, variables, functions

Setup

  1. Go into your assingment folder, create the correctly numbered assignment directory, and cd into it.
  • Ex:
cd ~/TIY/assignments
mkdir assignment-XX
cd assignment-XX
  1. Curl and unzip the assignment files
  • Ex:
curl  https://raw.githubusercontent.com/TIY-Charleston-Front-End-Engineering/Course-Guide/master/assignments/js-types-variables-functions/js-types-variables-functions.zip > js-types-variables-functions.zip
unzip js-types-variables-functions.zip
open index.html
  1. Write the functions for each exercise that make the tests pass. You will only be working in the files that are structured like so: ex-00-someExercise.js. You can see your output and

Tips

  1. Use console.log to inspect what is happening inside your functions
  2. Make sure you are always return a value from your functions