What is the purpose of the alt attribute on images?

What is CSS BEM?

 

 
/* block component */
.block {
}

/* element */
.block__element {
}

/* modifier */
.block__element--modifier {
}
Here is an example with the class names on markup:

<nav class="navbar">
  <a href="/" class="navbar__link navbar__link--active"></a>
  <a href="/" class="navbar__link"></a>
  <a href="/" class="navbar__link"></a>
</nav>

What is the purpose of cache busting and how can you achieve it?

What are the advantages of using CSS preprocessors?

Using flexbox, create a 3-column layout where each column takes up a col-{n} / 12 ratio of the container.

<div class="row">
  <div class="col-2"></div>
  <div class="col-7"></div>
  <div class="col-3"></div>
</div>

.row {
  display: flex;
}

.col-2 {
  flex: 2;
}

.col-7 {
  flex: 7;
}

.col-3 {
  flex: 3;
}

Can a web page contain multiple <header> elements? What about <footer>elements?

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-01

By Tarun Sharma

JS INT-01

React

  • 267