Target pseudo-class

This pseudo-class is called target pseudo-class and represents an element which matches against fragment identifier of the URI. For example an URI is pointing to anchor named partHelp like here: https://example.com/test.html#partHelp the element with the ID partHelp will be selected by this selector.

:target {
    /* declarations */
}

Example

:target {
    outline: red dotted;
}

You can also read this

How to write middleware for Express.Js apps

Middleware functions are functions that have access to the request...

var logger = function (req, res, next) {
  console.log('logged')
  next()
}

Weather app with Vuejs

In this app I’m going to build a weather app...

var vm = new Vue({
  // options
})