0
Why wont this code work? am i supposed to press something after i enter it or what?
so i saw on the internet that this code ul>(li>a)*5 is a shorter version of doing this <ul> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> <li a href=""></li> </ul> think its called a nested element. but when i type ul>(li>a)*5 it doesn't do anything.
5 odpowiedzi
+ 4
It's a shortcut that works in Visual Studio Code or any IDE that supports Emmet http://emmet.io/
+ 2
Try Like This
<ul>
<li a href=""></li>
<li a href=""></li>
<li a href=""></li>
<li a href=""></li>
<li a href=""></li>
</ul>
+ 2
then I don't know ^_^
+ 1
so it should work on sublime text right? the video i saw the guy was using sublime text it worked for him why not mine?
0
@Yash Gohel i know how to write that code what i want to know is why this code --> ul>(li>a)*5 doesn't turn into that