Get JSON with jQuery getJSON array

how should i get thegetJSON in the url

<script>
  $(document).ready(function() {

    $("#getMessage").on("click", function(){
      // Only change code below this line.
      
      
      $.getJSON("/json/cats.json", function(json){
        $("message").html(JSON.stringify(getjson));
      
      });
      // Only change code above this line.
    });

  });
</script>

<div class="container-fluid">
  <div class = "row text-center">
    <h2>Cat Photo Finder</h2>
  </div>
  <div class = "row text-center">
    <div class = "col-xs-12 well message">
      The message will go here
    </div>
  </div>
  <div class = "row text-center">
    <div class = "col-xs-12">
      <button id = "getMessage" class = "btn btn-primary">
        Get Message
      </button>
    </div>
  </div>
</div>

I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

Check this line again. There is an error.

Those kind of errors occur a lot. I recommend learning as much as possible in order to avoid them. There are a lot of tutorials on the web you can use. You can also use some programs to help you, such as checkmarx or others. But it’s also recommended to learn some on your own.
Good luck!
Michael.