Skip to content

primeiro commit#4203

Open
fmoreira85 wants to merge 1 commit intomate-academy:masterfrom
fmoreira85:master
Open

primeiro commit#4203
fmoreira85 wants to merge 1 commit intomate-academy:masterfrom
fmoreira85:master

Conversation

@fmoreira85
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your solution meets the functional requirements for the task: the Sum component is a named export, uses default values a = 0 and b = 0, and renders the text in the required format Sum of X and Y is Z based on the provided props. In App.jsx, all five required usages of Sum are present (with a=2, b=3, a=-5, b=5, a=10 only, b=5 only, and with no props), and the shorter prop lists are correctly written on a single line, matching the style checklist. The string interpolation inside the <p> tag is implemented correctly, which aligns with the requirement to use template literals inside the JSX content. There are no evident syntax or runtime issues in the components you provided. As minor next steps, make sure you run npm test locally to confirm the test suite passes, ensure Prettier (or your formatter) is enabled so the formatting stays consistent, and add your deployed GitHub Pages demo link to the PR description if that’s part of your workflow. Nicely done—this is a clean and correct implementation of the task.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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