Help with strawberries

Hi I have started to grow strawberries for the first time this year. They flowered but then the stem and fruit both turned brown and died. The leaves are still green and it was only the stems that held the fruit. Can someone please help me.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.