4

Host a website

Images

What you will learn

We now understand how a JavaScript program runs inside a web browser and can interact with a web page’s Document Object Model (DOM) to create interactive websites. We know that the HTML page that defines a document might be only the starting point of the definition of a website. A JavaScript program can run in the browser when a page loads and dynamically create content and connect events to make an active web page. Next, we will discover how we can write JavaScript programs to create content sent to the browser. We will use a framework called Node.js to run JavaScript programs directly on our computer without ...

Get Begin to Code: Building apps and games in the Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.