The first edition of breaking Bias, Photography exhibition held at Dgimax Creative studios,July 2023. The exhibition invited 5 photographers under the theme titled ‘everyday life’ Participating Photographers: Anwar Sadat, Ramadhan Said,Jeremiah Onyango and Kelvin Juma.
/* Style for the tab container */
.tab-container {
display: flex;
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
}
/* Style for the tab */
.tab {
padding: 10px 20px;
cursor: pointer;
border: 1px solid #FFF;
margin-right: 5px;
}
/* Active tab styling */
.tab.active {
background-color: #000000;
color: white;
border-bottom: none;
}
/* Hidden content area */
.tab-content {
display: none;
}
/* Show the active content */
.tab-content.active {
display: block;
}
// Get all tabs const tabs = document.querySelectorAll('.tab'); // Add event listeners to tabs tabs.forEach(tab => { tab.addEventListener('click', () => { // Remove active class from all tabs and content tabs.forEach(t => t.classList.remove('active')); document.querySelectorAll('.tab-content').forEach(content => content.classList.remove('active')); // Add active class to clicked tab and corresponding content tab.classList.add('active'); document.getElementById(tab.getAttribute('data-tab')).classList.add('active'); }); });