making Webserver for htu21 d

I have some problems in programming my sensor (HTU21D), which is connected to my nodeMCU board
to send alle the measured values on an indepent website.I took me a lot of time thats why I am asking if someone could help me :frowning:

#include <Wire.h>
#include “Adafruit_HTU21DF.h”
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
WiFiServer server(80);

Adafruit_HTU21DF htu = Adafruit_HTU21DF();

const char* ssid = “FT003”;
const char* password = “secret”;
void setup() {
Serial.begin(115200);
Serial.println(“Robojax.com”);
Serial.println(“HTU21D-F test”);
Serial.println();
Serial.println();
Serial.print(“Connecting to “);
Serial.println(WiFi.localIP());
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(”.”);

}
Serial.println("");
Serial.println(“WiFi connected”);

server.begin(); // Print the IP address
Serial.print(“Use this URL to connect: “);
Serial.print(“http://”);
Serial.print(WiFi.localIP());
Serial.println(”/”);
}

void loop() {
// Robojax HTU21DF Code
Serial.print(getHTU(‘C’));
printDegree();
Serial.println(“Celsius”);

Serial.print(getHTU(‘F’));
printDegree();
Serial.println(“Fahrenheit”);
Serial.print(getHTU(‘K’));
Serial.println(“Kelvin”);
Serial.println(" “);
Serial.print(“Feuchtigkeit:”);
Serial.print(getHTU(‘H’));
Serial.println(”%");
if(getHTU(‘C’) <81)
{
//digitalWrite(5, LOW);

}
delay(1000);
}
float getHTU(char type)
{ client.println
float value;
float temp = htu.readTemperature();
float rel_hum = htu.readHumidity();
if(type ==‘F’)
{
value = temp *9/5 + 32;//convert to Fahrenheit
}else if(type ==‘K’)
{
value = temp + 273.15;//convert to Kelvin
}else if(type ==‘H’)
{
value = rel_hum;//return relative Feuchtigkeit
}else{
value = temp;// return Celsius
}
return value;
void printDegree()
{Serial.print("\xC2");
Serial.print("\xB0");
}
}
client.println;