Author: smartcoder

novalidate in HTML Forms

novalidate is an attribute in HTML form. It is used to bypass the HTML5 form validation. For example, if we have specified the required... Read more »

HTML Forms – Elements, Controls

HTML forms give us a set of elements to collect data from the users. Let's check out how to create an HTML form, different... Read more »

HTML Basics – Structure, Elements, Tags, Attributes

HTML refers to Hypertext Markup Language. It is a simple and elegant way to structure content. HTML Stucture The structure of HTML basically consists... Read more »

React Component Tree – React JS APP

Most React apps are single page applications with component tree. The size of component tree may increase as per the size of the application... Read more »

JavaScript Online Editor – Run, Test, Debug JS Codes

There are many online tools related to web coding technologies for running and testing codes online. JavaScript also has many such supported tools. Here... Read more »

Create new React App with TypeScript Template

How to create a new React App using TypeScript with help of npx create-react-app. We can easily create a new TypeScript React App with... Read more »

TypeScript: Generic type definitions

Generic type definitions in TypeScript are useful in certain cases with function definitions. In some cases the function may accept any type of input... Read more »

TypeScript: Type Definition for Functions

In typescript, we have to define types for a function definition. It may include type definitions for function parameters and type for the function... Read more »

TypeScript: Type Alias – to avoid duplicate type definitions

To avoid duplication or repeated type definitions, we have the type alias in TypeScript. We can do this easily using the type keyword in... Read more »

TypeScript: Union Types – Multiple types for a variable

Union Type definition in TypeScript allows us to have multiple types for a variable. For example, we can have the type of string and... Read more »