0

[SOLVED] What is the error in the js? How i can use the innerText property?

In Mozilla works fine. https://code.sololearn.com/W1C9IykwzH9H/?ref=app

3rd Sep 2021, 2:09 PM
Benjamin Salas
Benjamin Salas - avatar
7 Respostas
+ 2
Use window.onload=()=>{ //your code goes here }
3rd Sep 2021, 2:13 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Thank you SoloProg
3rd Sep 2021, 5:07 PM
Benjamin Salas
Benjamin Salas - avatar
+ 1
Benjamin Salas do this .text { position: absolute; width: 100%; height: 100%; }
5th Sep 2021, 3:07 AM
Pariket Thakur
Pariket Thakur - avatar
+ 1
HrCoder it is works thank you
5th Sep 2021, 4:09 PM
Benjamin Salas
Benjamin Salas - avatar
0
HrCoder thank you so much you are an crack
3rd Sep 2021, 2:15 PM
Benjamin Salas
Benjamin Salas - avatar
0
How i can center the text ?
3rd Sep 2021, 2:20 PM
Benjamin Salas
Benjamin Salas - avatar