When comparing You Don't Know JS vs The Odin Project, the Slant community recommends The Odin Project for most people. In the question“What are the best resources to learn JavaScript?” The Odin Project is ranked 5th while You Don't Know JS is ranked 19th. The most important reason people chose The Odin Project is:
The Odin Project is a project-based curriculum which means you are able to build projects for your portfolio as you work through the sections.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Deep dive
The book dives deep into the problem that the explained mechanism solve, what are their pros and cons etc.
Pro Build a portfolio as your learn
The Odin Project is a project-based curriculum which means you are able to build projects for your portfolio as you work through the sections.
Pro Free and open source
The Odin Project is a completely free and open source alternative to coding bootcamps.
Cons
Con Light on CS
The Odin Project touches on computer science concepts, such as data structures. However the explanations are quite light and something you'll want to learn more about from other resources.