Skip to content

Commit

Permalink
Fix grammar and add <label> tag in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
lulunac27a committed Apr 20, 2024
1 parent f81ba72 commit 18c01f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dice Game in Haxe

This is a dice game that rolls specified number of dice and shows the dice numbers for each die with the sum of all dice. It also have a web application that can used in the browser to roll the dice and show the dice numbers with the sum of all dice.
This is a dice game that rolls specified number of dice and shows the dice numbers for each die with the sum of all dice. It also has a web application that can be used in the browser to roll the dice and shows the dice numbers with the sum of all dice.
4 changes: 2 additions & 2 deletions dice-game-webapp/src/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Dice Game Web App in Haxe</title>
</head>
<body>
<h1>Dice Game Web App using Haxe</h1><br/>
Number of dice to roll:<br/><input type="number" step="1" id="dice" min="1"/><br/>
<label for="dice">Number of dice to roll:<br/></label><input type="number" step="1" id="dice" min="1"/><br/>
<button id="roll">Roll Dice!</button><br/>
<div id="app">

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dice Game in Haxe

This is a dice game that rolls specified number of dice and shows the dice numbers for each die.
This is a dice game that rolls specified number of dice and shows the dice numbers for each die with the sum of all dice. It also has a web application that can be used in the browser to roll the dice and shows the dice numbers with the sum of all dice.

0 comments on commit 18c01f3

Please sign in to comment.