We're going to start a new application called Red Green Refactor! Red, Green, Refactor is a phrase drawn from the Test-Driven Development, a development approach we will studiously avoid throughout this book. But it does come in handy when you can use it.
wwwdirectory as usual, and three files:
style.css. Fill in
<!doctype html> <html> <head> <title>Red Green Refactor</title> <script src="app.js"></script> <link rel="stylesheet" href="style.css"/> </head> <body> <div class="screen" id="red">RED</div> <div class="screen" id="green">GREEN</div> <div class="screen" id="refactor">REFACTOR</div> </body> </html>