+353-1-416-8900REST OF WORLD
+44-20-3973-8888REST OF WORLD
1-917-300-0470EAST COAST U.S
1-800-526-8630U.S. (TOLL FREE)

LPI Web Development Essentials Study Guide. Exam 030-100. Edition No. 1

  • Book

  • 448 Pages
  • October 2023
  • John Wiley and Sons Ltd
  • ID: 5840316
Pass the LPI Web Development Essentials exam and set yourself up for success at a new web development job

In LPI Linux Professional Institute Web Development Essentials Study Guide: Exam 030-100, accomplished IT educator and systems engineer, Audrey O’Shea delivers an easy-to-follow and hands-on roadmap to passing the LPI Web Development Essentials exam and hitting the ground running at a new job as a web developer. In the book, you’ll explore the software development skills, web technologies, HTML, CSS, Node.js, and JavaScript info you need to implement modern applications and solutions in a web environment.

You will find: - Introductory coverage of SQL, HTML, JavaScript, CSS, and MongoDB - A heavy emphasis on real-world job skills, as well as the technologies used every day by web developers in the field - Complimentary access to the Sybex interactive online learning environment and test bank, complete with hundreds of practice questions, electronic flashcards, and a searchable glossary of important terms

An essential and practical resource for anyone preparing for the Web Development Essentials certification exam, LPI Linux Professional Institute Web Development Essentials Study Guide: Exam 030-100 is also the ideal book for entry-level software developers seeking knowledge of web development tools and principles.

Table of Contents

Introduction xvii

Assessment Test xxiii

Chapter 1 Web Development Basics 1

Developer Types 2

Creating Software 3

Text Editors and IDEs 6

Compiled Languages 7

Interpreted Languages 8

Programming Paradigms 8

Maintaining Software 11

Version Control Systems 11

Software Testing 12

Summary 12

Exam Essentials 13

Review Questions 17

Chapter 2 Client/Server Computing 21

Client-Side 23

Types of Clients 24

Web Browsers 26

Server- Side 28

Types of Servers 28

Popular Server Software 29

Popular Web Page-Creating Software 29

Summary 31

Exam Essentials 31

Review Questions 34

Chapter 3 Database Management Systems 39

Database Structures and Languages 40

Database Structures 40

Database Languages 43

Relational Database Concepts 44

Content Maintenance and Delivery 45

Summary 47

Exam Essentials 47

Review Questions 51

Chapter 4 Client/Server Communication 55

HTTP 56

HTTP Client-Side 57

HTTP Server-Side 60

WebSocket API 61

Caches and Cookies 62

HTTP Security Concerns 63

Summary 63

Exam Essentials 64

Review Questions 66

Chapter 5 HTML Introduction 71

What Is HTML? 73

The HTML Skeleton 73

HTML Syntax 75

HTML Head 79

Summary 81

Exam Essentials 81

Review Questions 86

Chapter 6 Content Markup 91

The Basics 92

Block and Inline Elements 93

Block Elements 93

Inline Elements 95

Hierarchical Structure 96

Lists 97

Styles 100

Semantic and Non-Semantic Elements 100

Non-Semantic Elements 100

Semantic Structural Elements 100

Summary 101

Exam Essentials 101

Review Questions 111

Chapter 7 References and Embedded Resources 115

Page Anchors 116

External Resource Links 117

Using Images 118

The img Tag and Its Attributes 119

Inline or Background Images 120

Image Maps 122

File Formats 124

The Tag 125

Summary 126

Exam Essentials 126

Review Questions 131

Chapter 8 Creating HTML Forms 135

Anatomy of an Input Form 136

Commonly Used Attributes 137

Button Types 142

Adding Functionality 143

Radio Buttons and Check Boxes 145

A Form for Reviews 146

Summary 146

Exam Essentials 147

Review Questions 154

Chapter 9 Introducing CSS 159

Applying Styles to HTML 160

The style Attribute 160

CSS Rules and Selectors 161

The Tag 162

CSS Stored in Separate Files 164

CSS Accessibility Features 165

Summary 166

Exam Essentials 166

Review Questions 171

Chapter 10 Applying CSS Styles 175

Other Selectors 176

CSS Inheritance 180

CSS Pseudo- Classes 181

CSS Order of Precedence 182

Summary 183

Exam Essentials 183

Review Questions 188

Chapter 11 CSS Styling Fundamentals 193

Units of Measure 194

Absolute Units 194

Relative Units 195

Common Properties 196

Color 197

Background 198

Borders 200

Font 201

Text 202

List Style 204

Line Height 206

Summary 208

Exam Essentials 209

Review Questions 213

Chapter 12 CSS Layout and Box Model 217

The CSS Box Model 218

CSS Box Model Parts 219

Element Dimensions 219

CSS Website Layout 221

Elements and Their Positions 221

Text Flow 221

Document Flow 222

Other Layout Features 224

Summary 226

Exam Essentials 227

Review Questions 233

Chapter 13 JavaScript Essentials 237

JavaScript Statements and Syntax 238

Adding Comments 240

Inserting JavaScript into HTML 241

JavaScript as an External File 242

The JavaScript Console 244

Summary 245

Exam Essentials 246

Review Questions 249

Chapter 14 JavaScript Data 253

Variables, Constants, and Scope 254

Variables 254

Constants 255

Scope 255

Objects and Methods 256

Data Types 258

Primitive Types 258

Arrays 259

Strings 260

Operators and Precedence 261

Data Conversions 263

Summary 264

Exam Essentials 265

Review Questions 269

Chapter 15 Functions and Control Structures 273

Functions 274

Function Syntax 274

Starting and Stopping Functions 275

Functions and Variables 276

Conditional Statements 276

Comparison Operators 280

Data Coercion 280

Truthy and Falsy Values 281

Summary 281

Exam Essentials 281

Review Questions 285

Chapter 16 The DOM 291

DOM Structure 292

DOM Methods and Properties 296

Adding and Deleting Classes and Attributes 296

Retrieving and Setting Values 297

Changing CSS Styling Using the DOM 299

DOM Events 300

Summary 301

Exam Essentials 301

Review Questions 305

Chapter 17 NodeJS Basics 309

What Is Node.js? 310

Installing Node.js 311

Installing a Node.js Module 312

Running a Node.js App 313

Summary 313

Exam Essentials 314

Review Questions 317

Chapter 18 NodeJS Express 321

Node.js vs. Node.js Express 322

Installing Express 322

Routing and Serving Files 325

User Input and Validation 327

Templates 331

Template Engines 331

HTML Templates 331

Security Concerns 333

Cross-Site Scripting 333

Cross-Site Request Forgery 333

Summary 333

Exam Essentials 333

Review Questions 337

Chapter 19 Manipulating SQLite with NodeJS 341

Installing the SQLite Module 342

Creating a SQLite Database 342

Opening and Closing the Database 343

In Terminal 343

In NodeJS 344

Managing SQLite Data with NodeJS 345

Entering Data 346

Changing Data 346

Running Queries 347

Security Concerns 349

Summary 349

Exam Essentials 350

Review Questions 356

Appendix Answers to Review Questions 361

Chapter 1: Web Development Basics 362

Chapter 2: Client/Server Computing 363

Chapter 3: Database Management Systems 365

Chapter 4: Client/Server Communication 367

Chapter 5: HTML Introduction 369

Chapter 6: Content Markup 370

Chapter 7: References and Embedded Resources 372

Chapter 8: Creating HTML Forms 373

Chapter 9: Introducing CSS 375

Chapter 10: Applying CSS Styles 376

Chapter 11: CSS Styling Fundamentals 378

Chapter 12: CSS Layout and Box Model 380

Chapter 13: JavaScript Essentials 381

Chapter 14: JavaScript Data 383

Chapter 15: Functions and Control Structures 384

Chapter 16: The DOM 386

Chapter 17: NodeJS Basics 388

Chapter 18: NodeJS Express 389

Chapter 19: Manipulating SQLite with NodeJS 391

Index 395

Authors

Audrey O'Shea