- JavaScript by Example
- Dani Akash S
- 222字
- 2021-07-02 18:39:04
Conventions
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: "In our index.html file, our <body> element is divided into a navigation bar and div containing the contents of the website."
A block of code is set as follows:
loadTasks() {
let tasksHtml = this.tasks.reduce((html, task, index) => html +=
this.generateTaskHtml(task, index), '');
document.getElementById('taskList').innerHTML = tasksHtml;
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
function mapStateToProps() {
return {
// No states needed by App Component
};
}
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, for example, in menus or dialog boxes, appear in the text like this: "Clicking on the Read More button in the home page will take you to the post details page instantly."
- 微服務(wù)設(shè)計(jì)(第2版)
- 零基礎(chǔ)PHP學(xué)習(xí)筆記
- Apache Spark 2.x Machine Learning Cookbook
- JavaScript前端開(kāi)發(fā)與實(shí)例教程(微課視頻版)
- GitLab Repository Management
- Linux操作系統(tǒng)基礎(chǔ)案例教程
- VMware虛擬化技術(shù)
- Access 2010數(shù)據(jù)庫(kù)應(yīng)用技術(shù)(第2版)
- iPhone應(yīng)用開(kāi)發(fā)從入門(mén)到精通
- 分布式數(shù)據(jù)庫(kù)原理、架構(gòu)與實(shí)踐
- Learning Ionic
- Software-Defined Networking with OpenFlow(Second Edition)
- 和孩子一起學(xué)編程:用Scratch玩Minecraft我的世界
- React and React Native
- React.js實(shí)戰(zhàn)