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.
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.