interval-timer/js/index.js

12 lines
271 B
JavaScript

function toggleSidebar() {
const sidebar = document.getElementById('sidebar')
if (sidebar.className === 'visible') {
sidebar.className = ''
} else {
sidebar.className = 'visible'
}
}
function newTimer() {
console.warn('newTimer not yet implemented')
}