From f6033fb2ab8cd23165d6112237737e1ba7a15dd0 Mon Sep 17 00:00:00 2001 From: Maxwell Drake Date: Sun, 7 Apr 2024 21:01:52 +0000 Subject: [PATCH] Update 'index.html' --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1b2d2f3..49b593f 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ Also it's a test if things are working. `)) createParagraph("paragraphLorum", `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar nisl eu risus tincidunt, non aliquet metus tempor. Duis ac tortor commodo, venenatis leo at, consectetur nulla.`) let dino = createButton("dino", "dino sound") -changeAttributes(dino, {"onclick": "playAudio(`https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3`, 0.4)"}) +changeAttributes(dino, {"onclick": "spin('dino'); playAudio(`https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3`, 0.4)"}) applyCSS("body", "background", "black") applyCSS("body", "color", "lime") importGoogleFont('Roboto');