Execute the following steps:
Add the Accelerometer API plugin using the command line.
$ cordova plugins add https: //git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
Go to the
tpl
folder and create a new Mustache template namedhelpmain-tpl.html
containing two unordered lists; don't forget to assign to the root tag of the template an ID in order to be able to easily remove the help from the DOM.<section id='help-index' class='help-overlay help-black'> <ul id='mainControls' class='help-items'> <li>{{home}}</li> <li>{{back}}</li> </ul> <ul id='sectionControls'> <li>{{tripname}}</li> <li>{{trippers}}</li> <li>{{countries}}</li> <li>{{dates}}</li> </ul> </section>
Go to the
css
folder and create a new stylesheet namedhelp.css
in order to define the appearance...