CaseyPitman / prime-numbers

Vanilla js app to determine if a number is prime or composite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prime-numbers

Vanilla js app to determine if a number is prime or composite

JavaScript

This app took longer than I thought it would. I had find ways to account for numbers that don't fit in the prime/composite dichotomy (zero, one, decimals, and negative numbers). It was also my first time to stray from the trusty for loop and give the while loop a go.

About

Vanilla js app to determine if a number is prime or composite


Languages

Language:JavaScript 54.0%Language:HTML 42.4%Language:CSS 3.6%