How to make a URL in JavaSctipt
<p>I currently have this JavaScript:</p>

<pre><code>new_string = "&lt;p&gt;Problem name: &lt;a href=\"http://www.problemio.com/problems/problem.php?problem_id=\" + problem_id + "&gt;" + title + "&lt;/a&gt;&lt;/p&gt;";
</code></pre>

<p>Where the title and problem_id are variables with a string and an id respectively.</p>

<p>How should I approach quotes when I have such situations as I am facing now?</p>

<p>Thanks!</p>
