Skip to content

isaacbarcroft/js-function-practice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

This assignment serves to reinforce JavaScript syntax, functions, and some mathematical operators and sequences.

Objectives

Learning Objectives

After completing this assignment, you should:

  • Understand general JavaScript syntax
  • Grasp why functions are important
  • Understand arrays and loops
  • Be able to breakdown a simple process of mathematical steps into a series of statements in JavaScript

Performance Objectives

After completing this assignment, you should:

  • Be able to demonstrate how to define a function with parameters and return the expected output
  • Be able to effectively use console.assert

Deliverables

A repo containing at least:

  • index.html
  • scripts/exercises.js
  • scripts/refactor.js

Requirements

  • All functions should be complete and produce the expected output

GETTING STARTED

  • Create a new repository
  • Download starter files
  • Link index.html to scripts/exercises.js and scripts/refactor.js

FOR EACH FUNCTION

  • Fill in the function so that the console.assert() statements don't throw errors

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.1%
  • HTML 1.9%