In this book, you will find a number of text styles 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: "We can see line 7 is now highlighted, and there's a sort of tooltip showing us the values of the req and res objects on the line above".
A block of code is set as follows:
const express = require('express')
const app = express()
const past = require('./past')
const future = require('./future')
app.get('/:age', (req, res) => {
res.send(past(req.params.age, 10) + future(req.params.future, 10))
})
app.listen(3000)
Any command-line input or output is written as follows:
$ mkdir app
$ cd app
$ npm init -y
$ npm install --save express
$ touch index.js future.js past.js
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Let's open up the Call Stack bar again and click the second row from the top."