LCD working with I2C

I have gotten it working but I have to angle the lcd at an odd angle to see it because the text coulor is extremely simeler to the background. Can anyone help this is for a school project. I have tried a petentiometer but it dosen't work heres the code

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd 
  lcd.init();
  // Print a message to the LCD.
  lcd.backlight();
  lcd.setCursor(1,0);
  lcd.print("hello everyone");
  lcd.setCursor(1,1);
  lcd.print("konichiwaa");
}


void loop()
{
}

See this check list: LCD I2C does not work! checklist - Introductory Tutorials - Arduino Forum

What is your supply voltage for the LCD?

5v

Thank you I have fixed it!

so what was the issue?

I couldent see the text because of contrast and knew how to fix it without an I2C lcd but not a I2C lcd.

This is normally how you adjust LCD contrast.

Except that it shows a potentiometer connected to the 5 V supply, which it definitely should not be. :cold_sweat:

It should be connected to ground or the negative voltage only. :astonished: