Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML HTML Forms Text Areas and Selects

Question: 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?

Thank you, Salvador but do you know which course is it?

2 Answers

Am on it.

Salvador Cervantes
Salvador Cervantes
10,898 Points

The 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

Thank you, salvador.