@wiv01 added htmlContent (English):
code:\n\njavascript\n<!DOCTYPE html>\n<html lang=\en\>\n<head>\n <meta charset=\UTF-8\>\n <title>Simple Site</title>\n <style>\n body \n font-family: Arial, sans-serif;\n text-align: center;\n margin-top: 100px;\n background-color: #f0f0f0;\n \n button \n padding: 10px 20px;\n font-size: 16px;\n cursor: pointer;\n \n p \n font-size: 18px;\n color: #333;\n \n </style>\n</head>\n<body>\n <h1>Hello, World!</h1>\n <p id=\message\>Click the button to see magic.</p>\n <button onclick=\changeMessage()\>Click Me</button>\n\n <script>\n function changeMessage() \n document.getElementById(\message\).innerText = \You clicked the button!\;\n document.body.style.backgroundColor = \#d4f5c2\;\n \n </script>\n</body>\n</html>\n
\n\n,hideSignIn:true,hideMenu:true
You are viewing a single comment's thread from: