I want to set zIndex to the first object b to 1 to display it in front. thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I want to set zIndex to the first object b to 1 to display it in front. thanks you.

Z-index to 1 to object b. https://code.sololearn.com/WG3UVX6HctP1/?ref=app

19th Jun 2021, 10:12 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 3
Unfortunatelly you make quite many basic mistaces, such as ie. declaring of the same variable more than one time etc. I would like to recommend you repeating the JavaScript, HTML & CSS course as well as analyzing a few codes from SL Playground. When you like you cann immediatelly start with this code: https://code.sololearn.com/W8NO1CoHDo2y/?ref=app
19th Jun 2021, 10:34 AM
JaScript
JaScript - avatar