I'm working on a project that involves displaying data retrieved from an AJAX request side by side on the same line. Here's my current code snippet:
HTML
<div id="one"></div>
JQuery
$getJSON(...,function(data){
$("#one").append("<img src="+ data.image_icon +">"+"<h3>" +data.title"</h3>")
})
Unfortunately, when I implement this code, the items do not appear next to each other on the same line as intended. Can someone advise me on how to achieve this desired outcome?