home04_4.html 195 B

1234567891011121314
  1. <head>
  2. <h1>
  3. <head>
  4. <h1>Word Count</h1>
  5. </head>
  6. <body>
  7. <script>
  8. alert(prompt("Enter a string").split(' ').length);
  9. </script>
  10. </body>
  11. </h1>
  12. </head>