Hi Paula you can get the featured image url with wp_get_attachment_image_src()
function.
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id());
Here the $image_data
return false in case the featured image not found otherwise it will return an array (url, width, height, is_intermediate).
if($image_data) {
// Featured image url
$image = $image_data[0];
}
Please take a look on the wp_get_attachment_image_src() documentation to get more details.