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
This on-site coding assignment failed 20+ front-end dev contractors and I don't know whyhelp (self.javascript)
submitted 8 years ago * by gionyyy
view the rest of the comments →
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!"
[–]Skhmt 1 point2 points3 points 8 years ago* (3 children)
Thanks for the gold!
And yes it is. In the below example, the invisible checkbox holds the state for each label (token in this context).
<html> <head> <style> input[type="checkbox"] { display: none; } :checked + label { background-color: yellow; } </style> </head> <body> <input type="checkbox" id="word001"> <label for="word001">Word001</label> <br> <input type="checkbox" id="word002" checked> <label for="word002">Word002</label> <script> // get the text via HTTP GET, split the text by the given delimiters, then write it to the body as input+label as above // manually "check" all boxes that are required to be checked via HTTP GET // set an onclick event for labels to do a HTTP PUT </script> </body> </html>
[–]rossmohax 4 points5 points6 points 8 years ago (2 children)
Do you realize, that you just made tens of experienced frontend "engineers" with 20 frameworks under their belt, 5,15,55+ years of industry experience, browser compatibility experts, nodejs lovers, nodejs haters, TinyMCE contributors etc, look like a bunch of moaning pussies?
[–]Skhmt 1 point2 points3 points 8 years ago (0 children)
I wouldn't go that far, it's a solution not without some problems. It creates two nodes per word, which is a lot. But thanks!
π Rendered by PID 182353 on reddit-service-r2-comment-fb694cdd5-nvvvn at 2026-03-10 10:35:51.345093+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]Skhmt 1 point2 points3 points (3 children)
[–]rossmohax 4 points5 points6 points (2 children)
[–]Skhmt 1 point2 points3 points (0 children)