Hooks mainly used to provide state, lifecycle methods and all other features in functional component that we generally get in a class component. But also makes it easier to apply.

Where to use

Hooks are mainly used in react functional components. Because functional components are stateless and hooks provide us…

CSS selectors are the ways by which we select the HTML elements and style them. These HTML elements may be either single or in groups, either adjacent or in different places.

These selectors are basically divided into 4 categories:

  1. Simple Selectors

2. Combinators Selectors

3. pseudo-class

4. pseudo-element

Simple Selectors…

Pooja Daharwal

UI Developer @HCL Technologies

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store