0
What's wrong with my program?
Why div isn't at the center of page, and why there is no text inside div? https://code.sololearn.com/WnOnv9Nj5NvM/?ref=app
2 Answers
+ 2
Adilx01 it should be novi.innerHTML not novi.style.innerhtml
+ 1
To center div you need to subtract 150 and 50 instead of adding it.