Skip to content

Commit a3d8899

Browse files
committed
Fix comments
1 parent 6a74325 commit a3d8899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ addCardButton.addEventListener("click", () => {
1414
cards.push({ name: name, rarity: rarity }); //add card to list of cards in collection
1515
output.innerText = `Number of cards: ${cards.length}\n${JSON.stringify(cards, null, 2)}`; //update output text
1616
nameElement.value = ""; //clear name value
17-
rarityOption.value = "common"; //reset rarity value
17+
rarityOption.value = "common"; //reset rarity value to default value
1818
});
1919
generateRandomCardButton.addEventListener("click", () => {
2020
//when generate random card button is pressed

0 commit comments

Comments
 (0)