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!
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

dov horwitz
3,177 PointsURL PARAMETERS
Does anyone know a way or if its possible to include into URL a css parameter that would be set based on the URL value.
1 Answer

Ted Sumner
Courses Plus Student 17,967 PointsI don't know of a way directly, but you could use a URL parameter to trigger PHP code, which could add html or change classes, etc. Then you could apply CSS to the new code. JavaScript may be a better answer for what you want.
Can you give a concrete example of what you are trying to achieve? There may be a better way to get your end result.