re: Challenge: Get Closest Number in an Array VIEW POST

FULL DISCUSSION
 

I probably over complicated it, but here's a CodePen link with how I did it in JS and outputted it to the HTML side.

 
code of conduct - report abuse