In this article, I will show you the top 5 code editors for web development.

1. Visual Studio Code

A code editor made by Microsoft in 2015, It has many nice features including support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git, and It’s open-sourced.

2. Sublime text 3

A text editor which…

Photo by Efdal YILDIZ from Pexels

To wrap an item using div, just set display: flex; and justify-content: center;.

<div class="parent">

.parent {
display: flex;
justify-content: center;

If you’re using TailwindCSS, just add flex and justify-center classes:

<div class="flex justify-center">


or using Bootstrap, just add d-flex and justify-content-center classes:

<div class="d-flex…

Basically, NO you shouldn’t store the passwords in the database, you should store the password hash.

Silhouette of Mountain Under Cloudy Sky during Sunset — Pexels

Installing bcrypt:

Using Node, install bcrypt :

npm install bcrypt
# or
yarn add bcrypt

In your code, require bcrypt and define the salt rounds,

const bcrypt = require("bcrypt");
const saltRounds = 10;

Creating the password hash:

If you prefer…

Murtaja Ziad

A Full-Stack Web Developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store