I'm building an app which works only with JavaScript enabled (otherwise, an appropriate message is displayed). There are a couple of screens in the app: game, tutorial, settings, about/credits. They look like separate pages, but it's all a single-page app. There are no URL changes when navigating between the screens.
Should I use a button or an anchor in this case? It feels like an anchor, but there's no page to lead to, meaning that href
would have to be #
. Also an anchor will break common patterns such as opening in new tab/window (no URL change means the app will restart from scratch in a new tab).