Random Quote Machine Javascript/jQuery

This is very incomplete, but was looking for feedback on the Javascript/jQuery code I have written. I’ve never imported JSON from a url before and was wondering if what I have done is correct or if there is a better way to do so? Also I’m not sure if using jQuery to add attributes is good or bad?
This is the first time I’ve done anything like this, I’m kind of lost.
Please disreagard the CSS, I haphazardly threw that together for an outline.

Seems good to me, well done.

wondering if what I have done is correct or if there is a better way to do so?

This works and is a correct way of approaching it. There are many ways you could approach pulling data, idk if any are really “better” than others. Really up to personal preference and the tools you are using.