diff --git a/redyellow.js b/redyellow.js new file mode 100644 index 0000000..69b7e32 --- /dev/null +++ b/redyellow.js @@ -0,0 +1,6 @@ +function red() { + document.getElementById("box").style.backgroundColor = "red"; +} +function yellow() { + document.getElementById("box").style.backgroundColor = "yellow"; +}