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');