In my code, am trying a assign a string value to an empty string and display on the page but it keeps showing null but when I print it out, it shows the value.