---
title: "Discussion on \"Multiple buttons looking like they're staying pressed - one at a time\" | Hashnode"
description: "Discussion on \"Multiple buttons looking like they're staying pressed - one at a time\". In my last post I showed you how to make a button look like it stays pressed when you click on it. But what if you have multiple buttons which you want to have staying pressed when you click them - but only the last one you clicked. If you click one ..."
url: "https://hashnode.com/posts/multiple-buttons-looking-like-theyre-staying-pressed-one-at-a-time/616bf2127c361e51328226cf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Multiple buttons looking like they're staying pressed - one at a time](https://blog.nicm42.me.uk/multiple-buttons-looking-like-theyre-staying-pressed-one-at-a-time?utm_source=hashnode&utm_medium=feed)

In my last post I showed you how to make a button look like it stays pressed when you click on it. But what if you have multiple buttons which you want to have staying pressed when you click them - but only the last one you clicked. If you click one ...

Oct 17, 2021 · 3 min read · blog.nicm42.me.uk  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nic](https://hashnode.com/@nicm42)

@nicm42 · England

  
[View profile](https://hashnode.com/@nicm42)

This week I learnt...

Front End Developer. I like problem solving and making things pretty. I also like red.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
