Kevin Leong1,652 Points
For the first part of the task I came up with this cold however for some reason it doesn’t seem to work.
const width = '190px'; const totalImages = 10; parseInt(width); let totalWidth = totalImages * width;
Martin Sole80,278 Points
You have the right idea, but you need to use parseInt(width) in your sum, so
let totalWidth = totalImages * parseInt(width) ;
At the moment in your example parseInt(width) isn't assigned to anything so the string value of width(190px) is still being used in the sum.