$(function() {
  $("#result").hide();

  $("#search_button").on("click", function() {
    var name = $("#name").val();
    var score = $("#score").val();
    var url = "/api/endpoints/search/?name=" + name + "&score=" + score;
    $.getJSON(url, function(data) {
      $("#result").show();
      for (var i = 0; i < data.length; i++) {
        var row = $("<tr>");
        row.append($("<td>").text(data[i].name));
        row.append($("<td>").text(data[i].url));
        row.append($("<td>").text(data[i].evaluation.score));
        $("#result_body").append(row);
      }
    });
  });
});

$(function() {
  $("#result").hide();

  $("#search_button").on("click", function() {
    var name = $("#name").val();
    var score = $("#score").val();
    var url = "/api/endpoints/search/?name=" + name + "&score=" + score;
    $.getJSON(url, function(data) {
      $("#result").show();
      for (var i = 0; i < data.length; i++) {
        var endpoint = data[i];
        var row = $("<tr>");
        row.append($("<td>").append($("<a>").attr("href", "/endpoints/" + endpoint.id).text(endpoint.name)));
        row.append($("<td>").append($("<a>").attr("href", endpoint.url).text(endpoint.url)));
        row.append($("<td>").text(endpoint.evaluation.score));
        $("#result_body").append(row);
      }
    });
  });
});

Add anchors to the value of "NAME" and "URL", respectively
Add anchors to the value of "NAME" and "URL", respectively
