Insert A New Dynamic Stylesheet Into A Web Document
TODO
☐
Look at
const sheet = ;
sheet.;
document. = ;
NOTE: didn't get adoptedStyleSheets to work with an extension on the first try
Original notes
JavaScript
const sheet = document.
sheet. = `
.alfa {
background-color: green;
}`
document..
HTML
Pick a card and slip it under the pack
Output
Pick a card and slip it under the pack
-- end of line --