Skip to content

M30237 Web Programming—Basic JS problems, delivered as QUnit tests

Notifications You must be signed in to change notification settings

tomatport/m30237-js201

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Basics Unit Tests

Download

You can get a copy of this code repository in several ways:

  1. use git to clone it:
    git clone https://github.com/portsoc/js201.git
    or
  2. use the GitHub CLI tool:
    gh repo clone portsoc/js201
  3. download a zip of this repository
    • This has the disadvantage that if we publish improvements or bug fixes it will be harder for you to get hold of them (conversely using git you just have to type git pull at the command line to receive the updates).

If you're not familiar with the git & gh tools, or you have not yet installed them on your machine, we strongly suggest that you do install them and start the very worthwhile discovery process.

Running

From your new local copy of the code:

  • open index.html in your browser to see the listing of tests and their pass/fail status,
  • edit index.js to add code until all the tests pass,
  • try to improve the code to be cleaner, while checking that the tests continue to pass,
  • and you may also examine (but do not change) test.js to understand exactly what is being tested.

About

M30237 Web Programming—Basic JS problems, delivered as QUnit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.0%
  • CSS 3.7%
  • HTML 0.3%