I am new to js and I hope for a solution.
I have several urls and they all start with link , now I want to store this as a first part and the rest in the links something like this:
Javascript=<br>
var **base**= "https: // 2.bp.blogspot.com" (algo como esto no se como se hace)
<br><br>
HTML=<br>
< a href="/-aVpKfrY4hCE/WUBqnQNNt-I/AAAAAAADLKU/iIMtGqmPe7o4EMo2ZlqEr0QR3qCC_-4MwCKgBGAs/s3200/SecW4rs_05_0157.webp">Imagen 01< /a><br>
< a href="/-3FIhHPOdz_w/WUBqnc-30NI/AAAAAAADLKU/8G-BHCDwyi4DHyhORNwLfXudSIVnKO2ugCKgBGAs/s3200/SecW4rs_05_0162.webp">Imagen 02< /a><br><br>
RESULTADO al hacer click=<br>
< a href="**base +**/-aVpKfrY4hCE/WUBqnQNNt-I/AAAAAAADLKU/iIMtGqmPe7o4EMo2ZlqEr0QR3qCC_-4MwCKgBGAs/s3200/SecW4rs_05_0157.webp">Imagen 01< /a><br>
< a href="**base +**/-3FIhHPOdz_w/WUBqnc-30NI/AAAAAAADLKU/8G-BHCDwyi4DHyhORNwLfXudSIVnKO2ugCKgBGAs/s3200/SecW4rs_05_0162.webp">Imagen 02< /a>
<br><br>
That is, by clicking open the url even though they are distentas but with the same first part stored.