JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test">
</div>
JavaScript
$.ajax({
url: "https://newsapi.org/v2/everything?q=apple&from=2023-06-20&to=2023-06-20&sortBy=popularity&apiKey=e407016d005947cf9b06e78d27b314cf",
type: "GET",
success: ((response)=>{
console.log(response)
})
})