Skip to content

Conversation

MohitMehtre
Copy link

Description

This PR introduces enhancements and minor fixes to the Typing Game:

Features Added (1543):

  • Reset Button: Allows users to restart the game without refreshing the page.
  • WPM Calculation: Displays words-per-minute upon completing the typing challenge.
  • Date & Time Display: Shows the current date and time, updating every minute.
  • Accessibility Enhancements: Improved labels using ARIA, focus handling, and screen-reader friendliness.

Additional Fix (1545):

While working on this issue, I also noticed and removed a duplicate <body> tag in index.html.
This was not mentioned in the original issue, but it was an important fix because:

  • HTML documents must have only one <body> tag.
  • Having multiple <body> tags can cause layout issues or script malfunctions.
  • Fixing it ensures valid, maintainable HTML.

Fixes #1543
Fixes #1545


Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@MohitMehtre
Copy link
Author

Hi! Thank you for maintaining this project. I submitted a PR for Hacktoberfest — if it's okay with you, would you mind adding the hacktoberfest-accepted label to the PR? Totally understand if not participating, just wanted to check. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate <body> tag found in Typing Game HTML file Add Words Per Minute (WPM) Calculation and Reset Button to Typing Game

1 participant