Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Let's take a look at our click handler. There's a repeating pattern that we can write a function to perform, and reduce repetition in our code.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Gal Parselany
Full Stack JavaScript Techdegree Graduate 26,281 Points1 Answer
-
Sherrie Jeffers
Front End Web Development Techdegree Student 7,909 Points2 Answers
-
Nnanna Okoli
Front End Web Development Techdegree Graduate 19,181 Points1 Answer
-
Crystal Scott
5,249 Points2 Answers
-
Vaidehi S
5,731 Points2 Answers
-
Dinu Comendant
6,049 Points1 Answer
-
OLUBUKOLA OGUNSOLA
Full Stack JavaScript Techdegree Graduate 30,442 PointsParameter as string
1 Answer
-
Dahlia Rizk
Full Stack JavaScript Techdegree Student 8,390 Points1 Answer
-
sanjeshwari Nand
Full Stack JavaScript Techdegree Student 4,673 Points1 Answer
-
jclaurent2
Front End Web Development Techdegree Student 10,899 Points1 Answer
-
Trevor Maltbie
Full Stack JavaScript Techdegree Graduate 17,021 Points2 Answers
-
Trevor Maltbie
Full Stack JavaScript Techdegree Graduate 17,021 Points2 Answers
-
James Stirrat
3,725 Points1 Answer
-
Mark Powell
8,489 Points2 Answers
-
Josh Morden
Full Stack JavaScript Techdegree Student 382 Points3 Answers
-
dianav
15,564 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up