DEV Community

Cover image for What's the one thing you always need to look-up?
Eleftheria Batsou
Eleftheria Batsou

Posted on • Originally published at eleftheriabatsou.hashnode.dev

What's the one thing you always need to look-up?

How do you feel about your memory?
To be honest, I don't have the best memory, I always write down the important things or when I can't remember something I'll definitely search for it.

What are the things developers always forget and need to search for?

The most common answer by far was:

Regular expression

The second most common was:

CSS (Centering divs, animation properties, media queries)

And by the way here is one of the ways to center a div:

display: flex;
align-items: center;
justify-content: center;

\*on parent element *\
Enter fullscreen mode Exit fullscreen mode

By Nikola Betica

I got a lot of answers regarding CSS/HTML/JS, Python, PHP, Java, Git

What's the one thing you always need to look-up?

โ€” Eleftheria Batsou (@BatsouElef) March 15, 2021

And the list goes on

  • How to make git stop tracking a folder/file
git rm --cached <file>
git rm -r --cached <folder>
Enter fullscreen mode Exit fullscreen mode

By R

  • Git reset soft/hard/mixed/keep
  • Git list or branch sort by creation time
  • Git flow
  • Bootstrap classes
  • Flexbox align-items, justify-items, align-content, justify-content
  • All kind of html forms
  • The syntax of if statements and for loops in Python
  • Javascript String function
  • Dates/Time in JavaScript, PHP (and other languages).
  • Splice or slice method in JavaScript
  • Let if in rust
  • How to initialize arrays in java
  • How to loop over a list
  • How to remove elements from a list inside the loop
  • The ternary operator in JavaScript
Question mark first, then the colon, because otherwise it doesnโ€™t look like Elvis:
?:
Enter fullscreen mode Exit fullscreen mode

By BeepThink

  • The Event for Dom Ready in Vanilla JS
DOMContentLoaded
Enter fullscreen mode Exit fullscreen mode

By Daniel

  • Color codes
  • Switch case

What about you? What is something you always tend to forget?

If you want to take part in these questions make sure to follow me on Twitter or Instagram.


๐Ÿ‘‹Hello, I'm Eleftheria, a front-end developer, master student, freelancer, public speaker, and chocolate lover.

๐ŸฅฐIf you liked this post please share.

๐ŸฉWould you care about buying me a coffee? You can do it here: paypal.me/eleftheriabatsou but If you can't that's ok too!

cofGif.gif


๐Ÿ™It would be nice to subscribe to my Youtube channel. Itโ€™s free and it helps to create more content.

๐ŸŒˆYoutube | Codepen | GitHub | Twitter | Site | Instagram

Top comments (3)

Collapse
 
rafaacioly profile image
Rafael Acioly • Edited

i'm R ๐Ÿ˜„

i had to look the command again today hahahaha

Collapse
 
eleftheriabatsou profile image
Eleftheria Batsou

Really?! Hahaha

Collapse
 
rafaacioly profile image
Rafael Acioly • Edited

maybe there's something wrong with me idk.
but we have to agree "cache" was not the right choice for the command hahahahaha