The :valid CSS pseudo-class

The :valid CSS pseudo-class represents any  <input> or other <form> element whose contents validate successfully. This allows to easily make valid fields adopt an appearance that helps the user confirm that their data is formatted properly.

input:valid {
  background-color: powderblue;
}

This pseudo-class is useful for highlighting correct fields for the user.

Here is browser support for this class:

broowser support

You can also read this

Random name picker with Javascript

My wife and I will become parents. I believe most...

?

start
stop

Error handling with ExpressJS

Error Handling refers to how Express catches and processes errors...

app.get('/', function (req, res, next) {
  fs.readFile('/file-does-not-exist', function (err, data) {
})