Target browsers: cross-browser
Many people use Firebug on Firefox and Chrome, but Firebug Lite can be used on any browser that supports JavaScript. In this recipe, we will see how to use Firebug to debug.
1. Enter the following code in HTML:
<!doctype html> <html> <head> <title>Mobile Cookbook</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div id="main"> </div> <script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script> </body> </html>
2. Render it in a mobile browser: