Computer scienceProgramming languagesJavaScriptInteraction with a browserDOM Interaction

Canvas: working with images

Image source

Report a typo

Write the line of code that would set the source of an image in JavaScript to a file named picture.jpg.

Use only single quotation marks!
Enter a short text

Create a free account to access the full topic