Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
playground:playground [2025/01/23 08:44] – doriane | playground:playground [2025/01/26 16:48] (current) – wgp | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | <link type=" | ||
- | |||
< | < | ||
function fetch_request(url, | function fetch_request(url, | ||
Line 10: | Line 8: | ||
}) | }) | ||
.then(response => response.text() ) | .then(response => response.text() ) | ||
- | .then(css => inject_cs | + | .then(css => inject_css(css) ); |
} | } | ||
function inject_css(css){ | function inject_css(css){ | ||
Line 19: | Line 17: | ||
document.head.appendChild(el); | document.head.appendChild(el); | ||
}; | }; | ||
- | fetch_request(" | + | fetch_request("/ |
</ | </ | ||
</ | </ | ||
Line 26: | Line 24: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | |||
- | charge: | ||