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
Michael Williamson
Front End Web Development Techdegree Graduate 23,903 PointsImage search using Javascript and Jquery?
Hello I am looking to set up a way to show and hide images whose alt text corresponds with the text entered into the search field using javascript and jquery only. Does anyone know of any tutorials or other resources that would aid in doing this?
1 Answer
Christian Higgins
15,758 PointsYou could use a querySelector
$('img[alt="SEARCHED TEXT HERE"]').
Michael Williamson
Front End Web Development Techdegree Graduate 23,903 PointsMichael Williamson
Front End Web Development Techdegree Graduate 23,903 Pointsok looking into that, thanks for the reply