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 trialjohn knight
Courses Plus Student 9,155 PointsQuestion: Am thinking about if the user selected an a country the city option changes and you can select the country....
Question: Am thinking about if the user selected an a country the city option changes and you can select the country that lies within that country. Is this possible using only HTML and CSS? or it needs JavaScript too?
john knight
Courses Plus Student 9,155 PointsThank you, Salvador but do you know which course is it?
2 Answers
Robert Leonardi
17,151 PointsYou would have to use Javascript or Jquery (part of javascript). https://teamtreehouse.com/library/javascript-basics and https://teamtreehouse.com/library/jquery-basics
john knight
Courses Plus Student 9,155 PointsAm on it.
Salvador Cervantes
10,898 PointsThe following Links are a great start. I would recommend you get a basic understanding of JS and Jquery. using the links that Robert posted.
Once you have done that, you would need to do a little research to look for something long the lines of what your trying to do! if your starting out, Please try as hard as you can do not find a code already like this and copy and paste. Try to write it your self, so next time when you do copy and paste, you understand what is going on :D
john knight
Courses Plus Student 9,155 PointsThank you, salvador.
Salvador Cervantes
10,898 PointsSalvador Cervantes
10,898 PointsThat would be JS