git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@media screen and (max-width: 1024px) { | |
/* Laptop (1024px) */ | |
} | |
@media screen and (max-width: 768px) { | |
/* Tablet (768px) */ | |
} | |
@media screen and (max-width: 320px) { | |
/* Phone (Small) */ |
function makeResizableDiv(div) { | |
const element = document.querySelector(div); | |
const resizers = document.querySelectorAll(div + ' .resizer') | |
for (let i = 0;i < resizers.length; i++) { | |
const currentResizer = resizers[i]; | |
currentResizer.addEventListener('mousedown', function(e) { | |
currentResizer.addEventListener('mousemove', resize) | |
}) | |
function resize(e) { |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user