Mercurial
view mrjunejune/src/resume/index.js @ 163:058de208e640
[Config] Adding os ignore files.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Mon, 19 Jan 2026 04:52:02 -0800 |
| parents | bcc76a156aea |
| children |
line wrap: on
line source
function loadComponent(ele, file_path) { fetch(file_path) .then(response => response.text()) .then(data => ele.innerHTML = data) } loadComponent(header, 'header.html'); loadComponent(footer, 'footer.html');