I am trying to create two buttons, with both the buttons not selected on initial load. On clicking the first button, it gets selected and I am applying color for that. During initial load, the message displayed below the buttons is different from the one that is displayed after clicking the button . I have tried the logic to apply the color changes on toggle , but how do I deselect both the buttons on initial load and change the message appropriately.
I think there are some issues with your code:
Here the modified example, please try if it's what you want
plnkr.co/edit/yvMgUaPN8NPgSYYiXAhI?p=preview
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments