Create a JavaScript file 9.js
so that when you run it with node 9.js
, the computer will output an HTML file 9.html
that displays each pokemon's name and image. There cannot be any JavaScript in the generated html file.
sprites
key of the object.fs.writeFile
The img
tag with the src
attribute are instructions for the browser to get the image data from the url and display it. For example: put this tag into an html file to display a picture of a cat.
<img src="https://placekitten.com/g/200/300" />