Olá pessoal!
Esse é meu avanço até agora:
const html = document.querySelector('html');
const timer = document.querySelector('#timer');
const image = document.querySelector('.app__image');
const title = document.querySelector('.app__title');
const focoBt = document.querySelector('.app__card-button--foco');
const curtoBt = document.querySelector('.app__card-button--curto');
const longoBt = document.querySelector('.app__card-button--longo');
const botaoIniciar = document.querySelector('.app__card-primary-button');
const descansoFoco = 1500;
const duracaoDescansoCurto = 300;
const duracaoDescansoLongo = 900;
focoBt.addEventListener('click', () => {
html.setAttribute('data-contexto', 'foco')
})
curtoBt.addEventListener('click', () => {
html.setAttribute('data-contexto', 'descanso-curto')
})
longoBt.addEventListener('click', () => {
html.setAttribute('data-contexto', 'descanso-longo')
})