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
30,677
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.