Chandan Rajpurohit

An Artist With Technical Skills

  • Implementation of getElementbyId()

    getElementById() is common method used in HTML (Hyper Text Markup Language) DOM (Document Object Model). getElementById() is used to fetch Element object with respect to id that matches the specified string in Document interface. Syntax It returns specified element that matches to id passed else none if no matches found. It is widely used while…

    Continue Reading

  • Components In React

    Components Components let us split our UI into independent, reusable pieces, and think about each piece in isolation. Conceptually, components are like JavaScript functions. They return React elements describing what should appear on the screen. Components in React are widely classified as:- 1. Functional Component 2. Class Component The simplest way to define a component…

    Continue Reading