9. Where Should Your Code Live?
In This Chapter
• Learn about the various places your code can live
• Understand the pros and cons of the various approaches
Let’s take a break from our regularly scheduled...programming (ha!). Instead of looking at what goes into our code, in this chapter, we are going to go a bit higher and look at something really basic. We are going to look at where exactly the code you write should live.
Onwards!
The Options on the Table
So far, all of the code we have been writing has been contained fully inside an HTML document as shown in Figure 9.1.
Get JavaScript Absolute Beginner’s Guide 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.