@loshu2003
I want you to act as a web developer and please write some code for me to create a sliding navigation menu for my website.
I want you to act as a web developer and please write some code for me to create a sliding navigation menu for my website. Gesture support: On touchscreen devices, it is possible to swipe from the edge of the screen to open a menu. Support for sliding within the menu area to close the menu (slide follows the finger). Edge detection: If it’s on a desktop, clicking outside of the menu (or the mask layer) should close the menu.
I want you to act as a web developer and please write some code for me to create a form validation feature for a website.
I want you to act as a web developer and please write some code for me to create a form validation feature for a website. Format validation: Email address: Must conform to the standard email format (including @ and a domain name). Phone number: Perform regular expression matching based on the target region (e.g., Chinese phone number). Password: Strength check (e.g., at least 8 characters, including both uppercase and lowercase letters, as well as numbers). Confirm password: Must be exactly the same as the “Password” field.
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.
I want you to act as a web developer and please write some code for me to create a responsive video player for a website.
I want you to act as a web developer and please write some code for me to create a responsive video player for a website. Play/Pause: The button icon must switch dynamically based on the state (display “Pause” icon while playing, “Play” icon while paused). Progress bar: Displays the current playback time / total duration. The progress bar supports clicking to navigate (Seek). Displays the progress of buffering (the percentage of loading, usually shown in a lighter color against the progress bar background). Volume control: Tap the mute button. The icon will change to indicate that it is muted, and the volume slider will be set to zero. Display the volume slider when hovering over or focusing on the screen.
I want you to act as a web developer and please write some code for me to create a progress bar for a website.
I want you to act as a web developer and please write some code for me to create a progress bar for a website. Stylistic approach: The design features rounded corners, with both ends forming semi-circles (border-radius: 100px or a similar value). The progress bar fill area should have a gradient background to add a modern touch. Dynamic animation: When the progress value changes, the width’s variation must be a smooth transition animation (using transition: width 0.3s ease), rather than a sudden jump.
I want you to act as a web developer and please write some code for me to create a pop-up notification feature for the website.
I want you to act as a web developer and please write some code for me to create a pop-up notification feature for the website. Entrance animation: When the notification appears, there should be an animation effect of sliding in from the right or fading in. Opening Animation: When closed, there should be a smooth fade-out or slide-out animation; do not abruptly disappear. Progress Indicator: A small progress bar is displayed at the bottom or top of the notification, providing an intuitive countdown until it automatically disappears.
I want you to play the role of a web developer and write code for a website loading animation.
I want you to play the role of a web developer and write code for a website loading animation. Design Style: Minimalist: Do not use outdated GIF images; it must be implemented using pure CSS or SVG. Brand Identity: The animation colors should match the website's primary color scheme