Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “In the following code snippet, we have an example of an Angular service that injects the HttpClient
service and fetches data from the server using the HttpClient.get()
method.”
A block of code is set as follows:
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable} from 'rxjs';
Any command-line input or output is written as follows:
//console output Full Name: John Doe
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Users can create a new recipe by clicking on the New Recipe menu item located at the top right of the page.”
Tips or important notes
Appear like this.