Hi ramla226,
Thanks for coming to Apple Support Communities. We're glad to point you in the right direction to ensure your front-facing camera is soon snapping beautiful photos without issue.
Have you had an opportunity to inspect the front-facing camera glass closely to ensure there is no obstruction or blemish? If you're using any kind of protective case or screen film, be sure to remove it for further testing.
The following guide has the recommended steps to clean your device:
Cleaning your iPhone
We'd also like to share the following guide with helpful information about your iPhone camera:
If the camera or flash on your iPhone, iPad, or iPod touch isn't working
We're here for you if you've got any questions.
Have a great day!