Your current process probably consists of a function that you pass what you’d like the user to see as well as the link they will navigated to and ultimately returning this
<a href="https://mzl.la/2qwFnRM">String.prototype.link on MDN</a>
There’s a single string parameter that specifies that href attribute of the anchor element. It returns a string containing an anchor element.
var text = 'String.prototype.link on MDN'; var url = 'https://mzl.la/2qwFnRM'; 'Want to read more? Check out ' + text.link(url);
Find this helpful? Why not share with your network