Changelog:
- Merged the
.dark-theme
class with the media query for better organization and reduced redundancy in the CSS. - Adjusted the margin of the
<h1>
and<h2>
elements to usevar(--space-xs)
for a more consistent spacing approach. - Removed the
border
property from the.btn-secondary
class to simplify the button styling. - Updated the
setupEventListeners
method to use a more concise syntax for checking thestyle
attribute changes with a single condition. - Enhanced the
showResults
method to improve readability by formatting the inner HTML of the results table more clearly.