Skip navigation

Add HTML for the panel container

Add HTML for the panel container: Creating Expandable Panels with jQuery
Add HTML for the panel container: Creating Expandable Panels with jQuery

We’ll start by adding a DIV container around the paragraph elements in each div within the aside elements. In the interest of keeping the HTML as clean as possible, we'll add text of the trigger as a data-attribute of the DIV. This give us a few advantages, including the ability to change the link text for each expanding panel, as well as allowing for any language to be inserted.

Resume Transcript Auto-Scroll
Skill Level Intermediate
46m 41s
Duration
9,365
Views
Show More Show Less
Skills covered in this course
Web Web Development jQuery

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now