HTML and CSS Reference
In Figure 5-2 , you can see what the ball looks like when moving on a line from one point to
another and also what the points path looks like when it is drawn.
This is the only time in this chapter where we will discuss the points path in depth. If you see the
points being drawn, you will know how and why we have added that functionality. You should also
have enough information to remove the code when necessary.
Figure 5-2. A ball moving from one point to another along the line, with the points drawn for illus-
Example 5-2 is the full code listing for CH5EX2.html .
Example 5-2. Moving on a simple line
<html lang= "en" >
<meta charset= "UTF-8" >
<title> CH5EX2: Moving On A Simple Line </title>
< script src = "modernizr.js" >< /script>