Skip to content

Fix ReferenceError in todo app actions#150

Open
tanvi1107 wants to merge 1 commit into
Debmallya-03:mainfrom
tanvi1107:fix/todo-reference-error
Open

Fix ReferenceError in todo app actions#150
tanvi1107 wants to merge 1 commit into
Debmallya-03:mainfrom
tanvi1107:fix/todo-reference-error

Conversation

@tanvi1107
Copy link
Copy Markdown

Description

Fixed the Todo App issue where clicking the Delete button or Clear Done button caused a ReferenceError.

Changes Made

  • Attached deleteTodo, clearCompleted, addTodo, and toggleTodo functions to the global window object
  • Fixed inline event handler accessibility inside the iframe preview
  • Improved Todo rendering reliability

Issue Fixed

Closes #116

Testing Done

  • Added new todos ✅
  • Deleted todos successfully ✅
  • Cleared completed todos successfully ✅
  • Verified no console errors appear ✅

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 27, 2026

@tanvi1107 is attempting to deploy a commit to the debmallya-03's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for webifynet ready!

Name Link
🔨 Latest commit 9d80fe5
🔍 Latest deploy log https://app.netlify.com/projects/webifynet/deploys/6a16d79d01a1b20008f749ca
😎 Deploy Preview https://deploy-preview-150--webifynet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tanvi1107
Copy link
Copy Markdown
Author

Hi maintainers @Debmallya-03
, just following up on this PR/issue.
I’ve completed the requested changes and would appreciate a review whenever possible. Thanks for your time!

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.

The Todo App throws a ReferenceError when clicking the **Delete** button or the **Clear Done** button.

1 participant