I have the function at 118. Called it at line 5. For some reason the text is not wrriten on the page. Help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I have the function at 118. Called it at line 5. For some reason the text is not wrriten on the page. Help

https://code.sololearn.com/Wm7V8ME4bser/?ref=app

15th Jun 2020, 5:08 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
2 Answers
+ 4
z-index only works on positioned elements (position: absolute, position: relative, position: fixed, or position: sticky). https://www.w3schools.com/cssref/pr_pos_z-index.asp #timer{ position:absolute; color:red; z-index:4; }
15th Jun 2020, 5:39 PM
ODLNT
ODLNT - avatar
+ 5
Oh, thanks. It worked.
15th Jun 2020, 5:47 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar