How to make first tab of the js open?

Tell me how to make first tab active by default?
March 23rd 20 at 19:20
1 answer
March 23rd 20 at 19:22
hang the class 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 - Merritt_Batz commented on March 23rd 20 at 19:25
@Merritt_Batz, - Oscar.Dickens commented on March 23rd 20 at 19:28

Find more questions by tags JavaScriptCSS