This is my Ajax call
<script>
$.ajax({
url:"http://localhost:3000/house/get-all",
type: "GET",
dataType: 'json',
data,
crossDomain: "true",
}
});
</script>
This is my html code:
<div id="houses">
This is place to put content. You can put slider, short description about your website and place some links for navigation.
</p>
</div>
ERROR:
Uncaught ReferenceError: data is not defined
dataType: 'json', data,, where are you definingdata?