Anonym

Vorlage:TopNews

Aus Geoportal


Reading time: Calculating...
 <script>
   function calculateReadingTime() {
     const wordsPerMinute = 200; // Adjust this value based on your content.
     const text = document.body.innerText;
     const words = text.split(/\s+/).length;
     const readingTime = Math.ceil(words / wordsPerMinute);
     document.getElementById('reading-time').textContent = `Reading time: ${readingTime} minutes`;
   }
   calculateReadingTime();
 </script>