Skip to content
Advertisement

How to fix website picture problem on HTML

JavaScript

Is there a problem with this code

I tried reformatting the code, by replacing the products.url into the alt brackets. But it was what i typed on in the brackets that showed up.

Advertisement

Answer

I am not exactly sure what your problem is but I see problem in code, try replacing:

JavaScript

to

JavaScript

and then update this lines with new variable name single_product

JavaScript

By using the same variable name you are overriding it

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement