Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Adam Futrell
11,976 PointsWould the "$" in the template string interfere with jQuery?
I know that the dollar sign is a shorthand for a jQuery object if the library is present. Would the dollar sign in the template string confuse jQuery?
1 Answer
Tim Acker
Front End Web Development Techdegree Graduate 31,247 PointsBy "template string" do you mean template literals that are surrounded by backs ticks like the following: (back tick)Some text ${expression} and even more text.(back tick) ***Sorry, couldn't get the back tick symbol to display.
These work just fine using jQuery as the back ticks encapsulate the ${} to avoid any confusion.