#Help identifying what I need to learn is even called.
4 messages · Page 1 of 1 (latest)
if a string starts with " then it also has to end with " if you wanna insert variables somewhere
"abc" + i + "xyz"
so, if I rewrite the line as this for example,
htmlCode+= "<img alt=' ' src='slide0.jpg' />";
the image for that jpg shows, however, if I try to rewrite it as
htmlCode+= "<img alt=' ' src='slide'+ i +'.jpg' />"
No image loads, so it would seem that slide + i + .jpg isn't combining into slidei.jpg like I would want, to be able to grab the images. But I don't get why, because isn't that how concatenating strings is supposed to work?
New reference image, it recognizes there is an img element, but it isn't combining right in order to actually pull the correct images.