shin-neo-lyrical-tokarev/public/pages/neocities-lyricaltokarev/deus/9.js
2024-11-16 04:11:07 -03:00

24 lines
859 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const scrollEl = document.getElementById('scroll')
const items = [
'<br>',
'wipe your tears and howl',
'but youll remember without fail the vows you made with your beloved',
'draw forth the sword that smites evil',
'justice awakens in the hate-scorched skies',
'hold your righteous anger in your heart',
'draw the innocent blade',
'ye not guilty',
'for everyone who exalts himself will be humbled',
'for his kingdom is not of this world',
'for he is with us to the end of time',
'he gave his only Son',
'whoever believes in him should not perish but have eternal life.',
'thy shall delight in the abundance of peace']
setInterval(() =>{
const h3s= scrollEl.getElementsByTagName('h3')
scrollEl.removeChild(h3s[0])
scrollEl.innerHTML += `<h3>${items[Math.floor(Math.random()*items.length)]}</h3>`
}, 31)