Briefly describe the correct usage of the following HTML5 semantic elements: <header>, <article>,<section>, <footer>

Can you name the four types of @media properties?

 

  • all, which applies to all media type devices
  • print, which only applies to printers
  • screen, which only applies to screens (desktops, tablets, mobile etc.)
  • speech, which only applies to screen readers
 

In which states can a Promise be?

What are defer and async attributes on a <script> tag?

Create a standalone function bind that is functionally equivalent to the method Function.prototype.bind.

function example() {
  console.log(this)
}
const boundExample = bind(example, { a: true })
boundExample.call({ b: true }) // logs { a: true }

What is a callback? Can you show an example using one?

Done

How Do We Import A Module In Angular 5?

Simply use below syntax to import a module in Angular 5.
import { ModuleName } from ‘someWhere’;

Explain $event In Angular 5?

In Angular 5 $event is a reserved keyword that represents the data emitted by an event (event data).
It is commonly used as a parameter for event based methods.

What Do Double Curly Brackets Are Used In Angular 5?

double curly brackets are used form data interpolation in Angular 5.

JS INT-02

By Tarun Sharma

JS INT-02

React

  • 289