marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
2.99k stars 790 forks source link

[Code page](https://eloquentjavascript.net/code) Show the exercise statement when selecting an exercise from the drop down #543

Closed gpskalra closed 4 months ago

gpskalra commented 3 years ago

Wouldn't it be better to show the exercise statement (and the display hints option too) when a user selects an exercise from the drop down on this page (https://eloquentjavascript.net/code)? A user can then go about solving exercises without having to go to another tab/window or to the paper book to see the exercise statement and can do it all in one place.

gpskalra commented 3 years ago

Oh! I did not realize I can run my code right in the book where the exercise statement exists and do not have to work in the code sandbox. This would still be a nice addition to the code sandbox though.

marijnh commented 4 months ago

No, duplicating that text there feels messy. As you found, people using the online text can work on exercises right in the text.