Skip to content

Add simple interactive button demo - #9

Draft
ylee-figma wants to merge 1 commit into
mainfrom
cursor/simple-button-3fa3
Draft

Add simple interactive button demo#9
ylee-figma wants to merge 1 commit into
mainfrom
cursor/simple-button-3fa3

Conversation

@ylee-figma

@ylee-figma ylee-figma commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a self-contained index.html page with a simple interactive button. Clicking the button increments and displays a live click counter.

Details

  • Single-file, no dependencies or build step required — just open index.html in a browser.
  • Modern, responsive card layout with hover/active button states.
  • Vanilla JS click handler updates the counter text with correct singular/plural wording.

Walkthrough

simple_button_click_demo.mp4

Button increments the counter on each click.

Initial state
After 4 clicks

Testing

Manually verified in Chrome: page renders and the counter updates correctly (1 time → 4 times) on each click.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Yong Su Lee <ylee-figma@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants