Skip to content

Solution to hometask 2 - #21

Open
ybriukhovetska wants to merge 7 commits into
seagullua:masterfrom
ybriukhovetska:hometask2
Open

Solution to hometask 2#21
ybriukhovetska wants to merge 7 commits into
seagullua:masterfrom
ybriukhovetska:hometask2

Conversation

@ybriukhovetska

@ybriukhovetska ybriukhovetska commented May 23, 2026

Copy link
Copy Markdown

Note

Medium Risk
Replaces the simple static page with a fully dynamic DOM-driven shopping list, so regressions are possible in basic interactions (rendering, editing, counters) despite being client-only and non-security-sensitive.

Overview
Replaces the placeholder Hello World page with a complete “Buy list” UI: add-item input, product rows with counters/actions, side panels for remaining vs bought, tooltips, and a fixed badge.

Adds main.js to manage in-memory product state and re-render the UI on user actions (add, edit-on-click, increment/decrement with min=1, toggle bought/unbought, delete), and overhauls main.css with the new layout/theme, responsive rules, and print styling. Also adds a .vscode/settings.json Live Server port setting.

Reviewed by Cursor Bugbot for commit 6d5b8cb. Bugbot is set up for automated code reviews on this repo. Configure here.

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