+ 2
Better than someone sending you an answer, why don't we work together with what you've done so you learn from your experiences?
Can you copy your code into the code playground and then share it?
+ 2
I found your code under your profile. Pay attention to your writing and placement of symbols, you had a few typos and other errors in there.
https://code.sololearn.com/WmzdS5EwEK6z/?ref=app
+ 2
That will take a while, it's not so easy. The basic idea is that you set up an event listener so when the user taps, the action/function is triggered.
Keep on with your courses and write your codes. When you have questions, write it up and smarter people than I will help you ;)