Jump to content

Marko Anic

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Marko Anic

  • Rank
    Newbie
  1. Hello.I started learning javascript and my professor give me this to solve. Its program that turn on and turn off bulbs on different ways. It have number of bulbs and number of variations . The problem is that i don't know how to use function deleteBulbs because when i type smaller number , those who left must get changed with blank.jpg but they won't. Please help me and sorry for my bad english. I uploaded images with problem. In first example, 3 are turned on . So in example 2,when i type 1 and 0, last bulb is turned off and other 2 must be blank but they are not in my case. <!DOCTYPE
×
×
  • Create New...