This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// pegar o container do elemento a se basear | |
const divWrap = document.querySelector('.main'); | |
// criando a barra de status | |
let bar = document.createElement('div'); | |
// estilizando a barra de status | |
bar.style.height = "4px"; | |
bar.style.width = "0"; | |
bar.style.backgroundColor = "#6633cc"; |