Skip to content

Add volume slider to sound buttons #6

@hattifnatt4r

Description

@hattifnatt4r

Add a volume slider to the soundButton function:

  • Add "volume" to the component state, with values ranging from 0 to 1.
  • Save sound volume in local storage. Local storage key: buttonsVolume, value example: { soundName1: 0.8, soundName2: 0.6 }
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions