Test



This is the content for Tab 1.

This is the content for Tab 2.

This is the content for Tab 3.

function openTab(evt, tabId) {
const tabContents = document.getElementsByClassName(“tab-content”);
for (let content of tabContents) {
content.style.display = “none”;
}

const tabButtons = document.getElementsByClassName(“tab-button”);
for (let button of tabButtons) {
button.classList.remove(“active”);
}

document.getElementById(tabId).style.display = “block”;
evt.currentTarget.classList.add(“active”);
}