I want you to act as a web developer and please write some code for me to create a picture carousel for the website.
I want you to act as a web developer and please write some code for me to create a picture carousel for the website. Automatic playback: The carousel will automatically start after the components have been loaded, with an interval of 3 seconds. When a user hovers their mouse over the carousel image, automatic playback is paused; playback resumes once the mouse is moved away. If a user manually clicks the navigation button, the automatic playback timer should be reset.