2 lines
248 B
JavaScript
2 lines
248 B
JavaScript
|
const header=document.querySelector("header");function paddingHeader(){document.body.style.paddingTop=`${header.offsetHeight}px`;}
|
||
|
window.addEventListener("load",paddingHeader);;function cleanForm(){document.getElementById("contact-form").reset();}
|