Skip to content

Commit 064d860

Browse files
authored
Merge pull request #5 from jaseel0/main
Add solution example for week 1 challenge
2 parents f6f791d + a6a7e28 commit 064d860

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

challenges/week-1.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,18 @@ Create a simple React component that displays a greeting.
1515

1616
## Points
1717
- Challenge completed: 15 points
18-
- PR merged: 10 points
18+
- PR merged: 10 points
19+
20+
21+
-----------------------------------------------------------------------------------------------------------------------------------------------------
22+
23+
### Solution by @jaseel0
24+
25+
```javascript
26+
import React from 'react';
27+
28+
function Greeting({ name }) {
29+
return <h1>Hello, {name}! Welcome to ReactSphere.</h1>;
30+
}
31+
32+
export default Greeting;

0 commit comments

Comments
 (0)