From 4255544bebd99efffaeb74f65584c705dbfb19f6 Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Date: Fri, 6 Sep 2019 11:30:10 +0200 Subject: [PATCH] Single quote missing in example code --- content/simplify-selectors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/simplify-selectors.md b/content/simplify-selectors.md index 0aa9c8a..7fcaac0 100644 --- a/content/simplify-selectors.md +++ b/content/simplify-selectors.md @@ -61,7 +61,7 @@ The end goal is to be able to click a nav item to change the tab and display the Let's code up some JavaScript! So we already know to [use a function so we don't repeat code](un-repeat-with-functions). We'll start by selecting all `.gallery` elements and calling each on that. ``` js -$('.gallery).each( function() { +$('.gallery').each( function() { // ... }); ```