How to make first tab of the js open?

Tell me how to make first tab active by default?
https://codepen.io/webforself/pen/pmmOoe
March 23rd 20 at 19:20
1 answer
March 23rd 20 at 19:22
hang the class active
.list-item.active .inner {display:block;}
That's hung, it turns out now that tab is open.But when you first click on 2 or 3 tab, nothing happens. And then works as it should

https://codepen.io/webforself/pen/pmmOoe - Merritt_Batz commented on March 23rd 20 at 19:25
@Merritt_Batz, https://codepen.io/anon/pen/rggZoq - Oscar.Dickens commented on March 23rd 20 at 19:28

Find more questions by tags JavaScriptCSS