Summary
In this chapter, we first introduced how to start a web server with the function Server.start
, which is the starting point of our web application. Then we discussed in detail the different cases of Server.handler
, and how to use them to dispatch user requests. After that, we talked about preparing web pages. Finally, we learned how to change the content of the page dynamically by interacting with DOM.