How to change a views block ID attribute to use it as anchor
you should place this function in your themes/YOURTHEME/YOURTHEME.theme file:

function YOURTHEME_preprocess_block(&amp;$variables) {
  dump($variables);
}


and you will see the name of your block. You have to look for block_html_id. Based on your description the value of the block_html_id will be block-views-block-services-block-1.

Then you can simply owerdefine it this way:

function YOURTHEME_preprocess_block(&amp;$variables) {
  if ($variables['block_html_id'] == "block-views-block-services-block-1") {
    $variables['block_html_id'] = "services";
  }
}


Or you can create a custom module and you can put this function there too. In that case you have to replace the YOURTHEME to the name of the custom module.