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

JavaScript

Any videos on here about JavaScript Panel?

I would like to learn about JavaScript Panel. Are there any videos on Treehouse discussing this?

1 Answer

Steven Parker
Steven Parker
229,670 Points

I'm not quite sure what you mean by "panel". But see if one of these might be what you're looking for:

If not, perhaps you could describe what you want in a bit more detail.

A panel is similar to an accordion. When you click the panel, or designated item to control it, the panel expands/collapses. It's a way to hide and show material.

Steven Parker
Steven Parker
229,670 Points

You could do that just in CSS, without JavaScript. But it would also be easy to do with scripting. Perhaps one of these would cover it: