Unit 3:Event: Click: Try it out


Hi, im currently trying to do the event handler on Unit 3, but i cant seem to figure out any of the three event try it out sections:
I tried to run the click part as:

var main = function() {
  $(".btn").click(function() {



Im really confused how to solve all 3. I tried to look at the other posts but still cant figure it out.
Would appreciate any help.
Thanks in advance,


Hi Ksali25,

Please post a link to the exercise you're on so we can help you :slight_smile:


Hi, its course located at:

Thanks in advance


OK, so you've forgotten to close the $(".btn").click(...); part. Before the closing curly brace (}) for the main function, add this:




talk about obvious :smiley: thanks so much its been driving me crazy. Many thanks


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.