<html> <head> <title>Round</title> <script src="stylejs.js"></script> <link rel="stylesheet" href="stylecss.css"> </head> <body> <div id = "why" background-color = "orange"> Scroll French </div> <div class='strings'>AR</div> <button onclick="myFunction()">Try it</button> <div class= "robotics" id = "why" width:42px; height:42px background-color = red radius=32px> <button type="button" name="how" onclick = myFunction()>how are you</button> <input id="clickWhat" type="button" value="wow" onclick=forFunction(); /> </div> </body> <html>
document.addEventListener("DOMContentLoaded", function(event) { var lava = document.getElementById('why'); lava.addEventListener("click", function(){lava.innerHTML = "bonjour"}); }); function forFunction() { console.log("that was great") } function myFunction() { alert("wow") }
<H1>
<head>
bg
color
body
<div>
style="..."
why
});
({
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)