What's the one thing you always need to look-up?
Tags: questions
Published: 2021-03-25 10:10:15

**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 *\
``` 
By  [Nikola Betica](https://twitter.com/nikolab_dev) 


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

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">What&#39;s the one thing you always need to look-up?</p>&mdash; Eleftheria Batsou (@BatsouElef) <a href="https://twitter.com/BatsouElef/status/1371416132402307078?ref_src=twsrc%5Etfw">March 15, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>


## And the list goes on
- How to make git stop tracking a folder/file
```
git rm --cached <file>
git rm -r --cached <folder>
```
By  [R](https://twitter.com/R_acioly) 
- 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:
?:
```
By  [BeepThink](https://twitter.com/beepthink) 
- The Event for Dom Ready in Vanilla JS
```
DOMContentLoaded
```
By  [Daniel](https://twitter.com/R4xx4r) 
- 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 ](https://twitter.com/BatsouElef) or [Instagram](https://www.instagram.com/elef_in_tech).

**************************************


👋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](https://www.paypal.com/paypalme/eleftheriabatsou) but If you can't that's ok too!


[![cofGif.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1616336641314/ycZgZ44G3.gif)](https://www.paypal.com/paypalme/eleftheriabatsou)


**************************************

🙏It would be nice to subscribe to my [Youtube](https://www.youtube.com/c/EleftheriaBatsou) channel. It’s free and it helps to create more content.

🌈[Youtube](https://www.youtube.com/c/EleftheriaBatsou) | [Codepen](https://codepen.io/EleftheriaBatsou) | [GitHub](https://github.com/EleftheriaBatsou) | [Twitter](https://twitter.com/BatsouElef) | [Site](http://eleftheriabatsou.com/) | [Instagram](https://www.instagram.com/elef_in_tech)