Name.style.display = “none” | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Name.style.display = “none”

why does not it work?? Name.style.display = “none”

5th Aug 2019, 4:04 AM
Михаил
Михаил  - avatar
5 Answers
+ 7
the punctuation mark is wrong you need to close the auto punctuation of your smart keyboard if you are using SoloLearn mobile app, you can choose the right punctuation mark in the navigation bar.
5th Aug 2019, 4:37 AM
Gordon
Gordon - avatar
+ 5
" should be straight not that special opening / closing quotation mark
5th Aug 2019, 4:22 AM
Gordon
Gordon - avatar
+ 1
please show an example
5th Aug 2019, 4:27 AM
Михаил
Михаил  - avatar
+ 1
This is an example from the browser, there are all punctuation marks, and I tried in different ways: Name.style.display = “none”;
5th Aug 2019, 4:41 AM
Михаил
Михаил  - avatar
+ 1
everything figured out, it works if you to place it in a function
5th Aug 2019, 4:55 AM
Михаил
Михаил  - avatar