Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Then open your web browser to http://localhost:8080
."
A block of code is set as follows:
<?xml version="1.0"?> <svg width="200" height="200"> <circle cx="60" cy="60" r="50"/> <circle cx ="5" cy="5" r="10" /> <circle cx="25" cy="35" r="45" /> <circle cx="180" cy="180" r="10"/> <circle cx="80" cy="130" r="40" /> <circle cx="50" cy="50" r="5" /> <circle cx="2" cy="2" r="7"/> <circle cx="77" cy="77" r="17"/> <circle cx="100" cy="100" r="40"/> <circle cx="146" cy="109" r="22"/> </svg>
Any command-line input or output is written as follows:
npm install -g http-server
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the INSTALL button."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.