-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathelements.js
49 lines (44 loc) · 1.46 KB
/
elements.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const buttonPlay = document.querySelector('.buttonPlay')
const buttonPause = document.querySelector('.buttonPause')
const buttonStop = document.querySelector('.buttonStop')
const buttonPlus = document.querySelector('.buttonPlus')
const buttonMinus = document.querySelector('.buttonMinus')
const buttonLightTheme = document.querySelector('.lightTheme')
const buttonDarkTheme = document.querySelector('.darkTheme')
const forestCard = document.querySelector('.forest')
const rainCard = document.querySelector('.rain')
const fireCard = document.querySelector('.fire')
const coffeeCard = document.querySelector('.coffee-shop')
const forestButton = forestCard.querySelector('.cardButton')
const rainButton = rainCard.querySelector('.cardButton')
const fireButton = fireCard.querySelector('.cardButton')
const coffeeButton = coffeeCard.querySelector('.cardButton')
const forestVolume = forestCard.querySelector('input')
const rainVolume = rainCard.querySelector('input')
const fireVolume = fireCard.querySelector('input')
const coffeeVolume = coffeeCard.querySelector('input')
const minutesDisplay = document.querySelector('.minutes')
const secondsDisplay = document.querySelector('.seconds')
export {
buttonPlay,
buttonPause,
buttonStop,
buttonPlus,
buttonMinus,
buttonLightTheme,
buttonDarkTheme,
forestCard,
rainCard,
fireCard,
coffeeCard,
forestButton,
rainButton,
fireButton,
coffeeButton,
forestVolume,
rainVolume,
fireVolume,
coffeeVolume,
minutesDisplay,
secondsDisplay
}