Skip to content

fix(vue): Add bounds checking to table colorizer functions - #532

Merged
sadanandpai merged 1 commit into
sadanandpai:mainfrom
emmanuel-ferdman:main
Sep 20, 2025
Merged

fix(vue): Add bounds checking to table colorizer functions#532
sadanandpai merged 1 commit into
sadanandpai:mainfrom
emmanuel-ferdman:main

Conversation

@emmanuel-ferdman

Copy link
Copy Markdown
Contributor

Description

This small PR adds bounds checking to colorSelected() and clearSelected() functions in the table colorizer Vue challenge to prevent runtime errors when users enter invalid row/column values.

Steps to reproduce:

  1. Visit the table colorizer Vue challenge
  2. Press row/column value bigger than 3 and press "color selected cell".
  3. Check DevTools.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@netlify

netlify Bot commented Sep 18, 2025

Copy link
Copy Markdown

Deploy Preview for frontend-mini-challenges ready!

Name Link
🔨 Latest commit efa7348
🔍 Latest deploy log https://app.netlify.com/projects/frontend-mini-challenges/deploys/68cc19d521eed70008d143b1
😎 Deploy Preview https://deploy-preview-532--frontend-mini-challenges.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.

@sadanandpai
sadanandpai merged commit 9546217 into sadanandpai:main Sep 20, 2025
6 checks passed
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