@shubhamschahar So true, a tiny operator choice can change the meaning of the data. || can silently overwrite valid values like 0, false, or "", while ?? preserves them.
@codewithnehaa The video shows the project well! Since you’re looking for feedback, a live demo would make it easier to try the drag-and-drop interaction. Are you planning to deploy it and share the link?
@Ayomiposi_ay Agreed🙌What made it most obvious during the interview that someone genuinely understood the concepts rather than just recognising AI-generated patterns?
@iamdoyinadeyemo Got it. I think many developers pick Next.js because routing, rendering, and server features come built in. React with Vite still makes sense when those extras aren’t needed.
@GotwalRitika11 Tried it, the copy confirmation is a nice UX touch. Neat way to practice DOM updates and the Clipboard API in one small project, keep going!
a > b compares the values as strings, but returns only a boolean:
true → 1
false → 0
A sort() comparator must return:
negative → a before b
positive → a after b
0 → same order
Since this never returns a negative value, it doesn't define a valid ordering.
@ania_kubow This is much cleaner for static text! Would you still choose JavaScript when the text is dynamic or needs pause, restart, and delete effects?
@NanouuSymeon Useful overview! In many frontend projects, components, pages, styles, and utils would live inside src, while node_modules is generated and gitignored. Was the root-level placement intentional here?