Skip to content

Give Thanks to Boost Productivity

With Thanksgiving just a few days away, the topic of gratitude has been on a lot of people’s minds. Life can get hectic, and it’s a good reminder, no matter what your current reality is like, to take a moment to appreciate the good things, big and small. It can be something like being grateful for your friends and family, or even simple little things like being grateful for an internet connection that works when you  have to turn in a paper.

Added bonus: regularly practicing gratitude can boost your productivity at work and school.

document.addEventListener("DOMContentLoaded", function() { // Get all accordion toggle elements var accordions = document.querySelectorAll('.accordion-toggle'); // Add click event listeners to each accordion toggle accordions.forEach(function(accordion) { accordion.addEventListener('click', function() { // Get the panel-collapse element directly following this accordion-toggle var panelCollapse = this.nextElementSibling; // Check if this panel-collapse is currently open var isOpen = panelCollapse.classList.contains('open'); // Remove 'open' class from all panel-collapses accordions.forEach(function(acc) { var collapse = acc.nextElementSibling; collapse.classList.remove('open'); }); // Toggle 'open' class only on the clicked panel-collapse if (!isOpen) { panelCollapse.classList.add('open'); } }); }); });