AT commands are not displaying in the serial monitor

Hello, I'm trying to open an HTML web server using esp8266-01 with Arduino. But I can't seem to display the IP address and such on the serial monitor display. I have already changed the baud rate to 115200.

I'm using a code that I got from the internet which is this one, and the necessary changes that I did were editing the SSID and Password and that should be about it.

 /*Code By SHAHID
    Turn On LED via Web through ESP8266 with Arduino.
    ESP8266 & ARDUINO HTML WEB SERVER.
    */
    
    #include <SoftwareSerial.h>
    #define DEBUG true
    SoftwareSerial esp8266(0,1); // make RX Arduino line is pin 5, make TX Arduino line is pin 6.
     int LED=12; //LED PIN
     int itsONled[] = {0,0}; // LED STATUS ARRAY eg- ON or OFF at startup. each value represent ech led.
     
    void setup()
    {
      pinMode(LED, OUTPUT);
      Serial.begin(9600);
      esp8266.begin(115200); // your esp's baud rate might be different
      sendData("AT+RST\r\n",2000,DEBUG); // reset module
      //sendData("AT+CWMODE=2\r\n",1000,DEBUG); // configure as Access point mode
      //sendData("AT+CWSAP=\"AccessPointname\",\"password\",1,4\r\n",1000,DEBUG); //this sets access point name and password //[channel -> 1 to 10] , [securitytype -> 0 – Open / 2 – WPA_PSK /3 – WPA2_PSK / 4 – WPA_WPA2_PSK ]
      sendData("AT+CWMODE=1\r\n",1000,DEBUG); // configure as Wireless Station mode
      sendData("AT+CWJAP=\"SSID\",\"PASSWORD\"\r\n", 6000, DEBUG); //Put Your SSID and password if activate as Station mode else comment down the line
      sendData("AT+CIFSR\r\n",2000,DEBUG); // get ip address
      sendData("AT+CIPMUX=1\r\n",1000,DEBUG); // configure for multiple connections
      sendData("AT+CIPSERVER=1,80\r\n",1000,DEBUG); // turn on server on port 80
    }

void loop()
{
     
  if(esp8266.available()) // check if the esp is sending a message 
  {
    if(esp8266.find("+IPD,"))
    {
     // subtract 48 because the read() function returns 
     // the ASCII decimal value and 0 (the first decimal number) starts at 48
     int connectionId = esp8266.read()-48; 
     //To read the url sent by the client
     String msg;
     esp8266.find("?");
     delay(100);
     msg = esp8266.readStringUntil(' ');
     String command1 = msg.substring(0);
     // HTML START
     String webpage = "<html><head><title>ESP8266 WEB SWITCH</title>";
     webpage += "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style>.button {background-color: orange;border: none;color: white;padding: 15px 32px;text-align: center;display: inline-block;font-size: 16px;} .centre {text-align: center;}</style>";
     webpage += "</head><body class=\"centre\"><h1 class=\"centre\">ESP8266 WEB SWITCH</h1>";
     //COMMANDS TO TURN ON or OFF LED RECEIVE BY WEB
                  if (command1 == "T"){//if recieve T from url it will turn on led by checking value in itsONled, if value is 0 it means on, if find 1 it will switch off led.
                    if (itsONled[1] == 1) // if find value 1 it will turn of led
                    {
                      digitalWrite(LED, LOW);
                      itsONled[1] = 0; // set value 0
                      webpage += "<p>LED STATUS OFF</p>";
                    }
                    else
                    {// if find value 0 it will turn on led
                      digitalWrite(LED, HIGH);
                      itsONled[1] = 1;// set value 1
                      webpage += "<p>LED STATUS ON</p>";
                    }
                }
     webpage += "<a class=\"button\" href=\"?T\">TAP</a></body></html>";
     String cipSend = "AT+CIPSEND=";
     cipSend += connectionId;
     cipSend += ",";
     cipSend +=webpage.length();
     cipSend +="\r\n";
     sendData(cipSend,200,DEBUG);
     sendData(webpage,200,DEBUG);
     //BELOW THIS LINE CLOSE THE CONNECTION
     String closeCommand = "AT+CIPCLOSE="; 
     closeCommand+=connectionId; // append connection id
     closeCommand+="\r\n";
     sendData(closeCommand,300,DEBUG);
    }
  }
     
}

//PROGRAM TO SEND COMMAND TO ESP8266 
void sendData(String command, const int timeout, boolean debug)
{
    esp8266.print(command); // send the read character to the esp8266
    long int time = millis();

    while( (time+timeout) > millis())
    {
      while(esp8266.available())
      {
        // The esp has data so display its output to the serial window 
        Serial.write(esp8266.read());
      }  
    }
}

This is my setup:

The obvious question is why are you using software serial on pins 0 and 1 when they have a hardware serial port on them connected to the USB port?

If you need to use software serial use pins that are not used by anything else. Also, i don't know the maximum speed of software serial, but it's well below 115200.

I tried changing the pins to 2 and 3. But I still got no response from the serial monitor.

The comment in the code suggests Rx 5 and Tx 6.
What have you done about the speed?
I can't help with the ESP8266-01 but what speed does it expect?

I did some research and saw that an esp8266-01 communicates with 115,200 baud therefore I didn't change the speed. I also tried using pin 5 and pin 6 but so far no luck. Therefore, I was wondering if there might be some other factors besides this.

In that case you can't use software serial to communicate with the ESP because software serial won't go anything like that fast.

My suggestion is to use an Arduino board with a second hardware serial port, for example a Mega or a Nano Every.

If there's a way to do what you are trying to do with a Uno then I'm sorry I don't know what it is, maybe someone else can help.

I'll try to look into your suggestion. Thank you for your feedback.

You have the UNO TXD going straight into the ESP01 'TX' pin
and the UNO RXD taking RX through a voltage divider.
The UNO TXD should go through the voltage divider. The RX from
the ESP should go straight into RXD.

You may want to rig up a simple "Hello UNO" Serial experiment to prove that out.
I believe the ESP pins need some pull-ups - unless you're using a Programmer board with that.