mirror of
https://github.com/Sneed-Group/frontend-js-example
synced 2024-12-23 11:42:51 -06:00
Update 'index.html'
This commit is contained in:
parent
9d370f0244
commit
30b43e4e92
1 changed files with 4 additions and 0 deletions
|
@ -21,5 +21,9 @@ 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.`)
|
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")
|
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": "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');
|
||||||
|
applyCSS("body", "font-family", "'Roboto', sans-serif")
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue