()
| 12 | |
| 13 | // Function to display the count |
| 14 | function displayVisitorCount() { |
| 15 | const counterElement = document.querySelector('.website-counter'); |
| 16 | const count = incrementVisitorCount(); |
| 17 | // counterElement.textContent = count; |
| 18 | } |
| 19 | |
| 20 | // Call the display function when the page loads |
| 21 | document.addEventListener('DOMContentLoaded', displayVisitorCount); |
nothing calls this directly
no test coverage detected