You did a very good job. Congratulations!
As far as I see everything is correct.
By the way, if you plan on doing more tasks it would be helpful if you could share your code in an online editor like https://codepen.io/, https://glitch.com or https://jsfiddle.net/. It’s much easier for us if we can see the code run and test things out if necessary. Also the forum removes and changes certain code automatically. Thank you