Experience the ease of styling
This cream provides all-day nourishment, smoothing frizz and dryness to reveal sleek, manageable hair.
document.addEventListener('DOMContentLoaded', function() {
// Get all the buttons into a NodeList
const buttons = document.querySelectorAll('.nav-button');
// Loop through the NodeList and add an event listener to each button
buttons.forEach(btn => {
btn.addEventListener('click', function(event) {
// Prevent default anchor click behavior
event.preventDefault();
// Remove the 'active' class from all buttons
buttons.forEach(b => b.classList.remove('active'));
// Add the 'active' class to the clicked button
this.classList.add('active');
// Scroll to the corresponding section smoothly
const sectionId = this.getAttribute('href');
const section = document.querySelector(sectionId);
// Ensure the section exists before scrolling
if (section) {
section.scrollIntoView({ behavior: 'smooth' });
} else {
// Fallback if the section doesn't exist (invalid ID)
window.location.href = sectionId;
}
});
});
});

no added parabens.

animal cruelty-free

gluten free

phthalate free

sulfate free
