const checkbox = document.getElementById('link5')
checkbox.addEventListener('change', (event) => {
if (event.target.checked) {
document.getElementById('tab1').style.display = 'block';
} else {
document.getElementById('tab1').style.display = 'none';
}
})