COPY Fork of HTML Starter, Hello World
✓ Published2🌍 Public
This example demonstrates a simple interactive color-change effect on a web page. It shows a styled "Hello World" message and a button, where clicking the button toggles a pink background class on both elements. The behavior is implemented with vanilla JavaScript event handling, using `document.querySelector` and `classList.toggle` in response to a click listener. The rendering approach is plain HTML and CSS, with no external libraries or data sources; the layout uses CSS grid for centering and transitions for smooth visual feedback.
AI-generated descriptionMIT Licensed