Business
1min
–
Code highlight test
This is a test
Yoan Almeida
Senior Product Designer
Test
<script>
/**
* Writes the current year to all elements that match the selector.
*/
function setCurrentYear() {
const YEAR_ELEMENTS_SELECTOR = '[fs-hacks-element="year"]';
const yearElements = document.querySelectorAll(YEAR_ELEMENTS_SELECTOR);
const currentYear = new Date().getFullYear().toString();
yearElements.forEach((yearElement) => {
yearElement.textContent = currentYear;
});
}
document.addEventListener('DOMContentLoaded', setCurrentYear);
</script>
Test
Yoan Almeida
Senior Product Designer
Ready to use Tailwarden?
Tailwarden is your all-in-one open-source platform. Seamlessly build your cloud asset inventory and gain detailed insights by breaking down costs at the resource level.