Skip to content

Commit

Permalink
commit from suparna
Browse files Browse the repository at this point in the history
  • Loading branch information
supivj authored Oct 10, 2024
1 parent 3b9edc5 commit 9085767
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Users_Files/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<html>
<script src="./hello.js"></script>
<script>
var setColor = function () {
var col = ["red", "green", "purple"];
var num = Math.floor(Math.random() * 3);
var s = `<body bgcolor= ${col[num]} >`;
document.write(s);
document.write(`<h1> ${hello()} </h1>`);
};
window.onload = setColor;
</script>
</html>

0 comments on commit 9085767

Please sign in to comment.