Posts by lmarzochi • 11 points
2 posts
-
0
votes1
answer481
viewsA: Express Validator in controller
follows code snippet of how I decided to use Validator in Controller: Your route file should look like this: const { registerUser } = require('../controllers/UserController'); router.post('/signup',…
-
1
votes1
answer811
viewsA: Scrollbar only with buttons or div
You can use the window.scrollBy(a, b) Receiving two parameters, the first is the measure in pixels for the horizontal scrolling and the second the vertical scrolling. <!DOCTYPE html>…