I want to build a simple app for controlling my esp8266 controlled drone, i tried searching but couldnt find any resource pls help

Are the mobile/tablet with the app and the drone with the ESP8266 connected to the same WiFi Router?

Connect two LEDs to the ESP8266 and try to turn them on/off, similar to this code.

Change #include <WiFi.h
by ```
#include <ESP8266WiFi.h>