News for hackers. Stuff that matters.
Re:Ask HN: An article using The Little Schemer format, what ... by layer8 on Saturday August 10, 2024 @07:40PM (#41213013)
“Show answer” should better be below the question, where the answer appears. Also so you don’t have to scroll up again for longer questions.
Re:Ask HN: An article using The Little Schemer format, what ... by neilv on Saturday August 10, 2024 @07:58PM (#41213073)
That would help a lot. Tuning on top of that would be graphic design, and maybe animated transition (if the graphic design isn't enough to expose what was happening).
Re:Ask HN: An article using The Little Schemer format, what ... by phfrohring on Sunday August 11, 2024 @02:34AM (#41214358)
Ok! Buttons are now below questions, is it better?
Re:Ask HN: An article using The Little Schemer format, what ... by layer8 on Sunday August 11, 2024 @07:44AM (#41215521)
Yes, but Hide Answer should either be in the same place (so you can quickly toggle), or (for longer answers) it needs to automatically scroll up again because otherwise you land below the next question; or both.

Showing/hiding larger content with good UX isn't easy. Sometimes it's better to just stick with normal browser navigation (such as linking to answers on a separate page), where the browser takes care of proper navigation state.

Re:Ask HN: An article using The Little Schemer format, what ... by phfrohring on Monday August 12, 2024 @05:12AM (#41222587)
A solution may be to avoid longer answers.