Month: June 2021

Use of Let, Var and Const on JS

We use Var keyword in declaring the variable and the scope of the variable is either global or local. The scope of the variable is global if we declare the variable outside of a function otherwise local if declare the variable inside a function....
READ MORE   >>

Inheritance Task in JS

Create an Animal class with by default 0 speed and use two methods for run and stop then create another class Rabbit that inherit the animal with function name hide. class Animal { constructor(name) { this.speed = 0; this.name =...
READ MORE   >>

Task using OOPS & DOM in JS

Task for HTML Create a empty div with class name resultCreate a button with class name btn and apply onclick event here with output function Task for DOM Find the above result and btn class using query selector method Task for...
READ MORE   >>

Task using OOPS

Write a JS function that display the bio data (firstName, LastName, age,email) of 3 Persons as shown in table PersonFirst NameLast NameAgeEmailPerson 1ShairyKalra32er.shairykalra@gmail.comPerson 2EtudeproPerson 3Dummy...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved