loading...

All 26 Comments

re: JavaScript == vs ===, Which one you should use?
Have to mention Object.is: console.log(0 == '0'); ...
re: Daily Challenge #156 - Dave's Gamble
JavaScript const horses = count => Number.i...
re: Daily Challenge #144 - Box Office Clerk
Using JavaScript: const changes = { 25: 0, 50: 0 ...
re: Daily Challenge #140 - I love you, a little, a lot, passionately ... not at all
Ah, I see. Didn't pay attention there, my bad. Thanks for t...
re: Daily Challenge #140 - I love you, a little, a lot, passionately ... not at all
Very simple but effective answer! Just two improvements: ...
re: Daily Challenge #140 - I love you, a little, a lot, passionately ... not at all
Here's one solution using scss:
re: Light Switch
Thanks and oh... that's because I took it down, it's outdat...
re: Light Switch
That might be a good idea, although it seems too bulky to f...
re: Light Switch
Lol thanks, although I won't call myself a css expert since...
re: Daily Challenge #119 - Adding Big Numbers
There's a BigInt type in vanilla javascript, why not just u...
re: Share your CSS knowledge
Several tricks that I used very often: Select all...
re: Daily Challenge #117 - MinMinMax
I'm sure there's less time complexity one but this boi will...
re: Daily Challenge #115 - Look and Say Sequence
Here's a one line solution in javascript. Zero readability...
re: Daily Challenge #35 - Find the Outlier
There's a potential bug. -21 will fail both isOdd and isEv...
re: Daily Challenge #32 - Hide Phone Numbers
Outstanding move
re: Daily Challenge #28 - Kill the Monster!
Solution in javascript: const killMonsters = (h, m, dm) ...
re: Who are all these people who are following me?
re: Daily Challenge #27 - Unlucky Days
Brilliant solution, very simple and effective. Although I t...
re: Daily Challenge #26 - Ranking Position
There's probably a better way which requires only one itera...
re: Daily Challenge #24 - Shortest Step
That was my original version, then I thought writing two fu...
re: Code Golf Challenge: Palindrome Detector
Even shorter word.split('').reverse().join('')==word
re: Daily Challenge #24 - Shortest Step
If you convert the number to binary, the steps are exactly ...
re: Three dots ( … ) in JavaScript
The other usage of ... I found is very useful: Co...
re: What parts of CSS confuse you?
Wow thank you :D Guess it's time to face my fear and dive...
re: What parts of CSS confuse you?
Don't know where they come yet don't know what they do
re: Welcome Thread - v33
Hey, I'm Hao and new here, currently working as a frontend ...
loading...