Loading…
Loading…
18d ago
inI copied code from a tutorial and my whole page went blank, spent 3 hours finding one missing semicolon
Man that missing semicolon thing is SO real and it gets worse the deeper you go! Wait until you hit a spot where the code runs but does something totally wrong instead of crashing, because at least a blank page tells you something broke. Silent bugs are the worst kind because you have no red error to chase, you just sit there wondering why your numbers are off by one or your button does nothing. The console tip you picked up is good but take it one step further and learn the breakpoint tool in your browser dev tools, where you can pause the code line by line and watch what each variable actually holds. That trick would have saved you way more than 3 hours once you start writing your own stuff instead of copying tutorials. Also worth knowing that some coders skip semicolons on purpose now and let the computer add them in, which means copying code from two different styles is a great way to break everything.
21d ago
inCan we talk about growing mint indoors with a grow light? Mine went wild in 10 days
A friend's mint got bitter under LEDs too, so it might just be the plant.
25d ago
inAppreciation post: I read that only 4% of anime get a second season, and now I see why my favorites keep vanishing
Used to think fans should just read the source, but honestly studios chasing quick cash bugs me now.