Although I am new to web development, I can 100% appreciate a shortcut for writing code.
While I was watching a tutorial video, I saw someone use this shortcut for making a div with a class name or id name in VS code. It blew my mind and I just had to share!
Instead of writing out the complete div tag plus the class or id name, write the class name with a period in front of it, or the id name with a pound symbol in front of it. Press enter and you're done.
To make a div with a class name:
To make a div with an id name:
P.S. I hate to admit it, but I feel 10x cooler when I make my divs this way!