Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 463 Bytes

File metadata and controls

5 lines (4 loc) · 463 Bytes

javascript-button

Making a button whose label increments by 1 each time you click (using onclick). HackkerRank 10 Days of Javascript- Day 8 Solution

Question: The button's id is btn. The button's initial text label is . After each click, the button must increment by 1. Recall that the button's text label is the JS object's innerHTML property. The button has the following style properties: A width of 96px. A height of 48px. The font-size attribute is 24px.