Sublime Text Shortcuts

Sublime Text Shortcuts 05: multiply elements

23 videos

39 minutes

Well, we said that this time we need to know to make 'multiple elements'. Then we will repeat the pattern of this set we have here. So I think the list, there it is. And we got to this point, I find the following: How many elements 'li' I have here? How many items? ... I have 4 right? then I'm going to put here 'li * 4' (li four): header> nav> ul> li * 4. And within that they go Li is 'a'; in 'li' I put the symbol '>'

(More) and have the 'a' - the links - if you give the tab, I believe exactly this set. But look at the difference, if I do this here, I place Li' and inside, I give the 'four' (header> nav> ul> li> a * 4) is not going to get out of this, I will leave one 'li' because here alone I have a 'li' within the 'ul' one 'li' and within that 'li' I will come out four 'a'. You will see how I press Tab. There you see, there is one 'li' item and four links; so

They have to see where to put the multiplications. It's simple, you have to put multiplication in the things they want to multiply. Not here are multiplied the 'a', they are multiplied the 'li' See? The 'li' items, there is four 'li' items; because '' there is only one within each 'li' item. Come? Here the 'li' item is enclosed, there is only one link. As seen Ok, no? You have to place the multiplication symbol

with the '*' (asterisk) and the number of elements, but careful where you place it so that all that is created is the one that you expect. You can give 'like' (I like) if you liked this video, I hope so. Share and move!

To find new courses, subscribe. There will be no spam, promised :)

About the Author

foto de jotajotavm
José Javier Villena

Biography: Analyst-Programmer in different languages. Tutor PREMIUM platforms recognized worldwide as CodigoFacilito. Editor Cristalab articles. My YouTube Channel is sponsored by the ANAYA and LaTostadora publisher. I like to explain in detail and give several examples for the avoidance of doubt.