So, I see two issues, and the best (most precise) place to find the answer is the Syntax section of the MDN Javascript reference. It may seem intimidating at first, but it does explain exactly what is happening. Before I got more familiar with Javascript, I would first check out W3Schools’ Javascript reference. Their demo lets you mess around with it - no better way to learn programming than breaking something over and over You can google search your way there, or use the search function within the link to the W3 site I provided.