Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Logo

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Contact Us
Home/ Questions/Q 1310

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise Latest Questions

Author
  • 62k
Author
Asked: November 25, 20242024-11-25T06:57:07+00:00 2024-11-25T06:57:07+00:00

Neat little tricks

  • 62k

I love a good shortcut. I mean, of course, it's the journey that matters and not the destination and all that, but sometimes you just want to get from A to B.

The popularity of all kinds of life hacks (travel hack, fashion hack, cooking hacks etc.) proves that we all like to make our lives just a little bit easier and if so, what not apply that to front-end development?

To that goal, for the last week and a half, I tried to learn not just what semantic HTML is, what's the difference between inline and block elements and how to push and pull to and from GitHub, but also how to use all those tools and perform all those actions more efficiently.

Below are a few of the things I discovered. I suspect that for most they will be hardly groundbreaking, and one day I'll probably look back at this list and laugh at my own innocence, but as a beginner, I found all those tricks super useful. Maybe you will too.

Change VCS appearance

Initially I found VSC highly intimidating, but I'm quickly discovering how versatile and flexible it is. One of the best ways to tame it was to change its appearance. A personalized theme can make reading and editing code easier. To do that, click file/preferences/settings/workbench/appearance and chose one of the themes available. I guess you can probably find more themes online, but I didn't have the need to try that out for myself yet.


Install plugins

Did you know that you can add plugins to VSC?!? I had no idea! But since I learned that I can, I've tried and tested a bunch of them, and here are the ones that I decided to keep:

Auto rename tag – a brilliant little plugin which renames the closing tag when you edit it's opening brother.

Colorize – It makes those cure little colour selectors in CSS better visible.

CSS peak – lets you take a quick peak at a CSS CLASS or ID properties from the HTML file. (I'm probably using the wrong terminology here, but hey, I'm still learning!).

Live Server – spares you the need to refresh the page you're working on every time you make a change in the code.

Code spell checker – pretty self-explanatory, isn't it?


Use your TAB

TAB is quickly becoming my favourite keyboard key. In VSC it unleashes the magical powers of “autofill”, meaning it helps you finish whatever you started writing. Here are some examples.

A few first letters of an HTML tag followed by a TAB press result in a beautiful, fresh pair of desired tags popping up on the screen.

Press “.” followed by whatever class name you need, and a pair of DIV tags with that class name assigned will be ready in no time. It works with ID's too, just replace “.” with a “#”.


Use Command Palette

To find it, right-click on your workbench, it's the last item on the menu (alternatively press Ctrl+shift+p). There are plenty of shortcuts to chose from. So far, the one I ended up using regularly is “Wrap with Abbreviation”, which speeds up the process of wrapping stuff in tags. Just select whatever you want wrapped, click the shortcut, type in your tag (you can follow it up with a “.” or a “#” to add class or ID) and magic happens.


Quickly create multiple LI tags

Instead of adding your LI tags to your UL or OL list one by one, you can do it all in one go. Here's an example:

ul>li*5 will create a UL list with 5 LI tags. You can then quickly switch between the list's positions using your TAB (❤️) key.


Use a screen reader

One of the first challenges during the bootcamp was code refactoring for accessibility. And one of the most useful tools which helped me complete this challenge was the Screen Reader Chrome extension. If was the best way to see (or rather, hear) where my project fell short of accessibility standards.


I hope using those tricks and shortcuts will become second nature to me over time, but for now I'll keep them on that list for future reference. In fact, I'll probably be adding more as I go along.

I hope this also helps other aspiring developers out there. And if you know any other quality-of-life little hacks and tricks, feel free to share them in the comments.

beginnerscsshtmlwebdev
  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 4k
  • Answers 0
  • Best Answers 0
  • Users 2k
  • Popular
  • Answers
  • Author

    ES6 - A beginners guide - Template Literals

    • 0 Answers
  • Author

    Understanding Higher Order Functions in JavaScript.

    • 0 Answers
  • Author

    Build a custom video chat app with Daily and Vue.js

    • 0 Answers

Top Members

Samantha Carter

Samantha Carter

  • 0 Questions
  • 20 Points
Begginer
Ella Lewis

Ella Lewis

  • 0 Questions
  • 20 Points
Begginer
Isaac Anderson

Isaac Anderson

  • 0 Questions
  • 20 Points
Begginer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Querify Question Shop: Explore Expert Solutions and Unique Q&A Merchandise

Querify Question Shop: Explore, ask, and connect. Join our vibrant Q&A community today!

About Us

  • About Us
  • Contact Us
  • All Users

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2022 Querify Question. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.