সম্পাদনা
<!DOCTYPE html> <html> <body> <button onclick="execute()">click to view result</button> <p id="result">ওয়েটিং</p> <script> function execute() { let sheet = new CSSStyleSheet(); sheet.replaceSync("body { background: pink; }"); document.adoptedStyleSheets = [sheet]; result.textContent = "স্টাইলশিট"; } </script> </body> </html>
পূর্বরূপ