Question: please help to solve qn (C) with my code in Javascript my code Thank you Apply the following actions to the button and number elements.
please help to solve qn (C) with my code in Javascript


my code

Thank you
Apply the following actions to the button and number elements. - When user clicks on the '-' button, the number will be decrease by 1 . Ensure that the number do not go below 1 . (2 marks) - When user clicks on the '+' button, the number will be increase by 1 . Ensure that the number do not go beyond 5 . (2 marks) 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
