Temp and humidity for aquarium on OLED screen

Hi all, I was wondering if someone could help me out with this project. I should state that I am still a very inexperienced beginner, so forgive my lack of knowledge.
I have some code here that I slightly modified (basically a combination of the DHT example and some code I found online) to display temperature and humidity on an LCD screen.
I was wondering how to modify it to display this on an OLED?
I think it would be great to have a little color screen attached to the side of the aquarium displaying the temperature, humidity, etc… in color (and maybe change that color or activate flashing LED lights when the temp goes out of range).
This is the code, and any help would be appreciated!

 /* 
  DHT Temperature & Humidity Sensor
  Displayed on an LCD screen 
  */

// Included libraries

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>
#include <Adafruit_Sensor.h>
#include <DHT.h>
#include <DHT_U.h>

// LCD display

LiquidCrystal_I2C lcd(0x27, 16, 2);

// Digital pin connected to the DHT sensor

#define DHTPIN 11      

#define DHTTYPE    DHT11

DHT_Unified dht(DHTPIN, DHTTYPE);

uint32_t delayMS;

void setup() 
{
 	// initialize the LCD
 
	lcd.begin();

	// Turn on backlight and give greeting.

	lcd.backlight();
        lcd.setCursor(4, 1);
	lcd.print("Storm's Paludarium Controller!");
        delay(3000);
        lcd.clear();
        lcd.print("Welcome!");
        delay(1000);
        lcd.clear();

        // Initialize device.

        dht.begin();
        lcd.println(F("Temperature and Humidity"));

        // Print temperature sensor details.

  sensor_t sensor;
  dht.temperature().getSensor(&sensor);
  lcd.println(F("------------------------------------"));
  lcd.println(F("Temperature Sensor"));
  lcd.print  (F("Sensor Type: ")); lcd.println(sensor.name);
  lcd.print  (F("Driver Ver:  ")); lcd.println(sensor.version);
  lcd.print  (F("Unique ID:   ")); lcd.println(sensor.sensor_id);
  lcd.print  (F("Max Value:   ")); lcd.print(sensor.max_value); lcd.println(F("°C"));
  lcd.print  (F("Min Value:   ")); lcd.print(sensor.min_value); lcd.println(F("°C"));
  lcd.print  (F("Resolution:  ")); lcd.print(sensor.resolution); lcd.println(F("°C"));
  lcd.println(F("------------------------------------"));

  // Print humidity sensor details.

  dht.humidity().getSensor(&sensor);
  lcd.println(F("Humidity Sensor"));
  lcd.print  (F("Sensor Type: ")); lcd.println(sensor.name);
  lcd.print  (F("Driver Ver:  ")); lcd.println(sensor.version);
  lcd.print  (F("Unique ID:   ")); lcd.println(sensor.sensor_id);
  lcd.print  (F("Max Value:   ")); lcd.print(sensor.max_value); lcd.println(F("%"));
  lcd.print  (F("Min Value:   ")); lcd.print(sensor.min_value); lcd.println(F("%"));
  lcd.print  (F("Resolution:  ")); lcd.print(sensor.resolution); lcd.println(F("%"));
  lcd.println(F("------------------------------------"));

  // Set delay between sensor readings based on sensor details.

  delayMS = sensor.min_delay / 1000;
}

void loop() {
  
    // Delay between measurements.

  delay(delayMS);

  // Get temperature event and print its value.

  sensors_event_t event;
  dht.temperature().getEvent(&event);
  if (isnan(event.temperature)) {
    lcd.println(F("Error reading temperature!"));
  }
  else {
    lcd.print(F("Temperature: "));
    lcd.print(event.temperature);
    lcd.println(F("°C"));
  }

  // Get humidity event and print its value.

  dht.humidity().getEvent(&event);
  if (isnan(event.relative_humidity)) {
    lcd.println(F("Error reading humidity!"));
  }

  else {
    lcd.print(F("Humidity: "));
    lcd.print(event.relative_humidity);
    lcd.println(F("%"));

  }
}

The first thing you need to go is figure out which OLED you want/have. It most likely comes with a library. Install that library in the IDE and look at the examples. Replace all the lcd stuff in your current code with the appropriate calls to the oled library to do what you want.