Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes

A rock-paper-scissors game using HTML & Javascript

Hooked on a Feeling In @Alex Answer Is there a way to implement this, so that such an extension would be simple? and OP's comment: functions that are essentially doing the same thing ... figuring ...
radarbob's user avatar
  • 7,599
2 votes

Calculate Prime Number using web workers and Web storage in HTML5

Your code is pretty much fine with what you are wanting to do. You might like to make the following changes: HTML: Change the max attribute to 99 to ensure the input is less than 100. Move inline ...
Dhruv Garg's user avatar
2 votes

A rock-paper-scissors game using HTML & Javascript

What you should ask yourself: If you wanted to extend this to "rock, paper, scissors, lizard, Spock", how much code would you have to change? Is there a way to implement this, so that such ...
Alex's user avatar
  • 41
2 votes

HTML Editor : online HTML editor with real-time preview

This file browser: <input type="file" accept="text/html" id="chooseFile"> Has a couple issues: Inaccessible label ...
tdy's user avatar
  • 1,420

Only top scored, non community-wiki answers of a minimum length are eligible