SyntaxFix
Write A Post
Hire A Developer
Questions
if you're doing a string of characters. make:
let linkGoogle = 'https://www.google.com/maps/dir/?api=1'; let origin = '&origin=' + locations[0][1] + ',' + locations[0][2]; aNav.href = linkGoogle + origin;