Skip to content

Add tabs to info section below bingo table#151

Open
cvenencia wants to merge 2 commits intoJoshimuz:masterfrom
cvenencia:tabs
Open

Add tabs to info section below bingo table#151
cvenencia wants to merge 2 commits intoJoshimuz:masterfrom
cvenencia:tabs

Conversation

@cvenencia
Copy link

Josh said he wanted to put the information below the bingo table behind tabs so I did it. You can check out a live version using the tabs here.

Captura de pantalla 2025-12-19 174444

The tabs implementation comes from Kevin Powell's video and codepen. I made small modifications just to make it work here.

You can navigate the tabs by either clicking on them, or focusing anywhere inside the section#rules-section element and pressing right or left arrow. I made sure this doesn't interfere with any of the current interactable elements inside for accessibility reasons.

I added the tabs functionality to a new file (tabs.js). Also tried to minimize the changes to index.html to avoid possible merge conflicts by not indenting the sections that were already there, so indentation is a bit broken in the sections I updated.

I can make further changes as required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant