What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-07 00:24:01
how to make color squares in angular
<div><div class='box red'></div>= Super Fast Trains</div> <br> <div><div class='box green'></div>= Mail/Express Trains</div> <br> <div><div class='box blue'></div>= Local/ Passe... Add solution -
-
SQL 2021-09-05 18:56:02
aggregate function in sql
The following are the most commonly used SQL aggregate functions: AVG – calculates the average of a set of values. COUNT – counts rows in a specified table or view. MIN – gets the minimum value in a set of values. MAX – gets the ma... Add solution -
Javascript 2021-09-05 16:43:02
express authorization middleware
const express = require('express'); const jwt = require('jsonwebtoken'); app.set('view engine', 'ejs'); // Simple page that a user must be authorized to access // using JSON web tokens: app.get('/lockedpage', authToken, (req, res) => { res.render('lo... Add solution -
Javascript 2021-09-05 15:52:01
node js type error
TypeError: res.status is not a function at C:\Users\lenovo\Desktop\MERN\backend\app.js:16:8 at Layer.handle_error (C:\Users\lenovo\Desktop\MERN\backend\node_modules\express\lib\router\layer.js:71:5) at trim_prefix (C:\Users\lenovo\Desktop\MERN... Add solution