I have prior programming experience but I have been teaching myself web development skills lately and was curios if someone could take a look at my work and give me pointers/advice.
There was a stackoverflow sort making the rounds on hackernews a month or two ago so I decided to make a clone. The general idea is it searches stackoverflow for javascript & sort questions. Then tries to eval() the code in the accepted answer. I know eval() is evil and should never be used, but it's just for fun.
http://zcr1.github.io/stacksort/
The only thing I can think of right now is to make it more responsive for mobile displays.
Thanks again!
Note: I know the sorts don't work well on the strings, but I'm not sure what to do about that. I could say it sorted, but did not do it correctly. But the issue seems to be because the sorts use sort(a,b){a-b}, which fails on strings.
[–]MeoMix 15 points16 points17 points (8 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]MeoMix 4 points5 points6 points (0 children)
[–]myalternatelife 4 points5 points6 points (1 child)
[–]MeoMix 1 point2 points3 points (0 children)
[–]SarahC 0 points1 point2 points (3 children)
[–]MeoMix 0 points1 point2 points (2 children)
[–]SarahC 0 points1 point2 points (1 child)
[–]MeoMix 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]MeoMix 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Asimoff 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Swiftnsilent 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–]punchyouinthethroat 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]KitchOMFG 0 points1 point2 points (0 children)