Nice work! If you want to get the site-size down, like the top-comment suggested, you can switch from React to preact.
Show HN: I'm 15 and made a bedtime calculator with React JavaScript
21–30 of 140 posts
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#22Great project! Happy to see young hackers at work. Doing things like this get you valuable experience, more useful to actually working than school.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#23Ever wake up feeling groggy, even though you thought you had enough sleep? It turns out that by timing your wake up time based on REM cycles, you can wake up more refreshed and more productive. This got me thinking, why don't I put my front-end web development skills to the test and build a tool that will help people optimize their sleep schedule? So, I built a bedtime calculator with React JS, as well as some fancy…
my last comment seems to have been removed by the moderators for being contrary to the tone of the rest of the forum, so i will say this: this is like some sort of sponsorship for a mattress company or something if you check the bottom of the page. i don't know why, but it is just very upsetting to me to see that some kid is reviving so much praise for being interested in something as meaningless as web development.…
FB is paying $300,000+ per year for React developers. This is an extremely valuable skill to acquire. Even better at such a young age. This kid has a bright future.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#24I'm a long time user of sleepyti.me but i like this interface better. It would be even better if the times displayed and the "try another time" was all on the same page. I dislike having to scroll for instant one off information bytes...
Good point about the "try another time" feature. I also want to add a "Go to bed now" feature, that will tell you what time to wake up if you want to fall asleep right now.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#25Earlier quoted context omitted.
my last comment seems to have been removed by the moderators for being contrary to the tone of the rest of the forum, so i will say this: this is like some sort of sponsorship for a mattress company or something if you check the bottom of the page. i don't know why, but it is just very upsetting to me to see that some kid is reviving so much praise for being interested in something as meaningless as web development.…
How ridiculous. FB is paying $300,000+ per year for React developers. This is an extremely valuable skill to acquire. Even better at such a young age. This kid has a bright future.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#26Ever wake up feeling groggy, even though you thought you had enough sleep? It turns out that by timing your wake up time based on REM cycles, you can wake up more refreshed and more productive. This got me thinking, why don't I put my front-end web development skills to the test and build a tool that will help people optimize their sleep schedule? So, I built a bedtime calculator with React JS, as well as some fancy…
my last comment seems to have been removed by the moderators for being contrary to the tone of the rest of the forum, so i will say this: this is like some sort of sponsorship for a mattress company or something if you check the bottom of the page. i don't know why, but it is just very upsetting to me to see that some kid is reviving so much praise for being interested in something as meaningless as web development.…
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#27Earlier quoted context omitted.
my last comment seems to have been removed by the moderators for being contrary to the tone of the rest of the forum, so i will say this: this is like some sort of sponsorship for a mattress company or something if you check the bottom of the page. i don't know why, but it is just very upsetting to me to see that some kid is reviving so much praise for being interested in something as meaningless as web development.…
Your first comment was flagged (by users) because it added no value and seemed more or less like a projection of your own problems onto OP.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#28What really impresses me is the site’s collection of information and its presentation. It is very thoughtful. Not too much. Not too little. You even included sources for most of your information. Fantastic! Don’t lose focus on your writing skills as you develop your technical skills. Both will serve you well. Great work!
If I may make a few suggestions, please consider:
1. The calculator says you should try to “fall asleep at .” Maybe calculate a “bedtime” by including “time to fall asleep.” Default to 20 minutes, but allow the user to adjust.
2. The first sentence tripped me up. “ You should go to bed 5-6 90 minute sleep cycles before your wake up time.”
a. It should be 90-minute. See rule 4: https://www.grammarbook.com/punctuation/hyphens.asp
b. Consider breaking it into smaller sentences that lead the reader to your point. Something like:
People sleep in 90-minute cycles. They need five or six complete cycles to feel refreshed. Waking up mid-cycle feels worse than waking up earlier at a cycle boundary. Use this calculator to determine an ideal bedtime based on when you need to wake up.
Anyhow, just some minor thoughts. Overall, it is a great site, and not just a for a 15-year-old.
Re: Show HN: I'm 15 and made a bedtime calculator with React JavaScript
#29Wow! The site and its functionality are cool. I am not a web dev, so I can’t say much more than that. What really impresses me is the site’s collection of information and its presentation. It is very thoughtful. Not too much. Not too little. You even included sources for most of your information. Fantastic! Don’t lose focus on your writing skills as you develop your technical skills. Both will serve you well. Great w…
I will definitely use this feedback to improve the page. Thank you again for all the encouragement and advice.