emmastotz / block

Block 2.0
http://block.frankiefigs.com/
0 stars 1 forks source link

chore: misc cleaning up index logic code #36

Closed Frankie-Figz closed 4 years ago

Frankie-Figz commented 4 years ago

Added a JSON file to replace the long switch statement on the day codes. Revised the methods of validations and shorten variable names Reduced some IF statements to ternary statements Removed console logs that were not necessary