Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More

Memberships

Developer Pro

Public • 144 • Free

41 contributions to Developer Pro
React Challenge 10
Here's my react challenge 10. It was a little difficult to implement a feature that allowed the input text to be updated when the user clicks outside of the input element, but I used event bubbling and useRef to create it. Let me know if there is a better way to do it. It doesn't have localStorage yet but I'll add it soon. https://stackblitz.com/edit/vitejs-vite-dah7gf?file=src%2FApp.jsx
5
2
New comment 10d ago
React Challenge 8 & 9
Here's my take on react challenge 8 & 9. Looking for feedback. https://stackblitz.com/edit/vitejs-vite-8cbhhf?file=src%2FApp.jsx,src%2Findex.css
4
2
New comment 13d ago
React Challenge 7
Here's my react challenge 7. Looking for feedback. https://stackblitz.com/edit/vitejs-vite-gfast9?file=src%2FApp.jsx
6
1
New comment 15d ago
Counter App
Took a while to get to this challenge but my counter app is now ready for review whenever you get a chance. I added a random color function instead of having a lot of if statements to set the bg color. Thanks 🙏 https://codepen.io/johnmurr/pen/XWvogww
9
11
New comment 15d ago
2 likes • 16d
@John Murray It's working but creating a function could reduce repetition. Something like: function changeBackground (bodyColor, plusColor, minusColor){ document.body.style.backgroundColor = bodyColor ; plusBtn.style.backgroundColor = plusColor; minusBtn.style.backgroundColor = minusColor; }
1 like • 15d
The same elements also have their backgroundColor changed in resetGame. You could create a function to change the backgroundColors and then reuse it in setBGColor and resetGame with different arguments for the colors.
React Challenge 6
Updated my React challenge 2 & 3 project for challenge 6. Please let me know what I can improve. https://stackblitz.com/edit/vitejs-vite-dah7gf?file=src%2FApp.jsx
3
1
New comment 16d ago
1-10 of 41
Max Hayakawa
5
320points to level up
@max-hayakawa-6082
I’m a self taught developer. After studying various art forms in school, I discovered web development as a new way to channel my creativity.

Active 12h ago
Joined Jun 12, 2024
powered by