What is the purpose of the Fetch API in JavaScript?
to manipulate the DOM
to handle user events
to manage local storage
to make HTTP requests
No tests found
What will be the output of the following code?
console.log(true || true);
true
false
What is the default value for box-sizing in CSS?
box-sizing
border-box
content-box
inherit
inherit
none
What is the width of the rendered <div> element?
width
<div>
div { width: 100px; padding: 5px; background: red; box-sizing: border-box; }
90px
100px
105px
110px
What is the height of the rendered <div> element?
height
div { height: 100px; border: 3px solid black; background: red; box-sizing: border-box; }
94px
103px
106px
What is the final height of the rendered <div> element?
div { height: 100px; margin: 5px; background: red; box-sizing: border-box; }
95px
Which property is used to change font color?
font-style
font-variant
color
font-weight
Fill the blank to register a custom service:
import { NgModule } from '@angular/core'; import { ProductsService } from './products.service'; @NgModule({ : [ ProductsService ] }) export class AppModule {}
Fill the blank to register a custom component in the module:
import { NgModule } from '@angular/core'; import { GameDetailsComponent } from './game-details.component'; @NgModule({ : [ GameDetailsComponent ] }) export class AppModule {}
Services in Angular cannot depend on other services. True or false?
«12345678910...102»