Code for controlling two led's

<!doctype html>

Bolt IoT Platform ON OFF ON OFF i have used pin no 2 you can use any pin as per our convinice

Yes you can use 2 pins

Yes, you can actually use two pins, you just have to change the value of the second pin.
For eg- you can connect the 1st pin in A0 , and second pin in 0 , using a bread board for connections will be preferred.

USE THIS CODE TO CONTROLL 2 LEDS

use the digital pin 0 to connect the first LED and use the digital pin 1 to connect the second LED to the BOLT WIFI MODULE

Bolt IoT Platform TURNON 1 TURNOFF 1 TURNON 2 TURNOFF 2