How to get a parameter value from the current URL in views-view-fields.html.twig?
You could use Twig's split filter, though I don't recommend scripting too much inside templates.

Instead I recommend to pass the value over to Twig from a preprocess function from inside your theme or a custom module via template_preprocess_views_view_fields.

/**
 * Implements template_preprocess_views_view_fields().
 */
function MYTHEME/MYMODULE_preprocess_views_view_fields(&amp;$variables) {

  // Retrieve an array which contains the path pieces.
  $current_path = \Drupal::service('path.current')-&gt;getPath();

  if ($current_path[0] == 'questions') {
    $variables['question_id'] = $current_path[1];
  }
}


And then inside your template print it for example like so:

{% if question_id %}
  &lt;div id="{{ question_id }}"&gt;Question ID: {{ question_id }}&lt;/div&gt;
{% endif %}