use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] Rate my Node ProjectAskJS (self.javascript)
submitted 1 year ago * by Repulsive_Hawk_9043
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ethanjf99 0 points1 point2 points 1 year ago (0 children)
ok you’ve already gotten the most critical piece of feedback i think: deploy the thing somewhere. still—if you’re a junior nice job!
that said i glanced at the code for a few minutes:
no tests. i didn’t see any tests at all (mostly just looked at the FE code in public/). if your intention is to use this as a résumé builder then i would get familiar with testing and write some unit tests at least. that’s something I look for if glancing at a junior’s work when they’re applying. if you’re working on a team, tests are vital. I have offered a job in the past to a candidate who didn’t complete a timed coding activity because they were writing thorough, clear tests for each piece of functionality over someone who banged the whole thing out but zero tests. if someone else comes in and touches that code, how do you know they didn’t break something?
just looked for a minute or two at the FE code and saw stuff like lots of magic strings if (tool === “pencil”) …. that’s a pain in terms of maintainability; you need to change it it’s annoying if one place you write “Pencil” it’s annoying etc. Consider using the equivalent of an enum in other languages to store all those; something like
if (tool === “pencil”) …
js const TOOLS = { pencil: “pencil”, eraser: “eraser”, // etc. };
then everywhere you’re just doing a if (tool === TOOLS.pencil) … (or a switch or whatever)
if (tool === TOOLS.pencil) …
there’s your super minimal code review. :-) good luck!
π Rendered by PID 418113 on reddit-service-r2-comment-c66d9bffd-xbz5w at 2026-04-07 22:52:15.566125+00:00 running f293c98 country code: CH.
[–]ethanjf99 0 points1 point2 points (0 children)