TIL :
From challenge #2 :
I tried to solve yesterday's second challenge in another way. For that I added a new button in the HTML . I placed the new line for the button under the bundle js ,so the element wasn't loaded when the bundle js executed so I got the error : "Cannot read property 'addEventListener' of null"
I found it to be very interesting as I have near to no knowledge of HTLM. Knowing this really made me feel like I learnt something new today.
From Challenge #3 :
Was to add another dice in the Pig game and if any of those two dice rolled "1" , we need to reset the user's current holding score.
This was really fun.🌟
Top comments (0)