I need help applying CSS styling to a paragraph that is being extracted using JavaScript.
Here's the current code I have:
var info = "<p>" + meeting.summary + "</p>;
I attempted to add some styling with the following code:
var info= "<p style="font-family: Arial, sans-serif; font-size: small;">" + meeting.summary + "</p>;
Unfortunately, this approach did not work as expected. Is there a way to correctly apply CSS styles to JavaScript variables like the one I am working with?