Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on If it goes somewhere, it’s a link. If it does something, it’s a button. Parent comment
Er sorry, I meant type="button" for both. Neither submit a form or do anything other than show the default interactive styles without JS.
> There are some use cases where a <button> won't work (eg if you want to use flexbox)
I’m not sure what you mean, and having a hard time imagining what you might mean. Can you elaborate?
[1] https://news.ycombinator.com/item?id=33173406
Er sorry, I meant type="button" for both. Neither submit a form or do anything other than show the default interactive styles without JS.
> There are some use cases where a <button> won't work (eg if you want to use flexbox)
I’m not sure what you mean, and having a hard time imagining what you might mean. Can you elaborate?