cordova api's homework added