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

Memberships

Selftaught Developer Incubator

Private • 397 • $49/m

Developer Pro

Public • 144 • Free

52 contributions to Developer Pro
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 11d ago
0 likes • 12d
I think you can simplify saveResult() a tad, instead of having the for loop that exits when if it finds the counter value already in the resultsArray, you can simply check for resultsArr.includes(counter) and if so display the alert. Otherwise counter is not found and can be pushed to the array like you have. That's all I would nitpick, good job
Will try to review the code tomorrow
I'm still recovering after surgery, I hope tomorrow I will have mental focus to review your code
20
14
New comment 18d ago
Will try to review the code tomorrow
2 likes • 18d
@Elias Fairfield excellent thanks for the update
Simple Calculator Challenge
https://codepen.io/ZCrooks-the-reactor/pen/YzmjmBb
9
12
New comment 18d ago
1 like • 20d
There is some repetition in math() that can be simplified.. i.e. you're appending answer.toLocaleString() to result and printing the equation in all cases. And then yeah, the second operand is never flagged as invalid if both are not numbers. Otherwise I like it, well done
Quick announcement
This past month was a bit insane: countless doctor appointments, one surgery attempt which failed, countless trips between Poland and warsaw, turning 30. And hopefully, after next week, I will have a boring life for at least 6 months. Thanks for bearing with me (I hope I didn't cause too much trouble). Next week, I will finally, get my nose fixed, so I will be able to breathe. I will get a septoplasty (straightening my broken nose), which will allow me to remove my polyps, which will allow me to get rid of sinusitis. So next week I might have to cancel most, if not all calls, because I will be in hospital, and I'm unsure what I can do or not do yet. I will have to move the Sunday's calls on Saturday (tomorrow), because Sunday I will be traveling all day to the country where I will be getting the surgeries. Again, I apologies if I messed some things up, next week will be the last week, when this will happen
27
21
New comment 19d ago
0 likes • 23d
damn bro your nose more crooked than an american election... looking forward to having you back!
Social Media Post update
Hey pros, I have been working on this challenge past few days,so far it is generating up to 50 random users, up to 100 random comments, and a random number of likes depending on how many users were created. For the comments I have it generating 100 comments each time, but a random number of them are replies to a comment. So every page load is different. Then as an extra challenge Ive been trying to figure out how to generate a replies to a reply.. but am not going to spend much time on that. Next up will start designing the comments section https://codepen.io/James-R-the-sans/pen/JjgLxOE?editors=0010
4
5
New comment 23d ago
0 likes • 24d
@Mioara Cenusa I thought about that at the time but ultimately decided it was ok to not convert isReply to a boolean since the if statement sees 0 and 1 as falsy and truthy respectively. So to keep it less confusing I could convert isReply to boolean in the if statement or initialize isReply = 0 at the start
1-10 of 52
James Rinella
4
1point to level up
@james-r-1539
Currently working in IT support but looking to transition into web/app development

Active 7h ago
Joined Jun 7, 2024
powered by