9
My first real coding project broke in 10 minutes flat
I spent last weekend building a little to-do list app using HTML, CSS, and some basic JavaScript. I was so proud when it actually worked on my computer, even added a dark mode toggle. Then I showed my friend and the whole thing crashed when she tried to add a task with an emoji in the name. The console just lit up with red errors and I had no idea what any of them meant. I spent like 3 hours googling and eventually found out it was a problem with how I was handling special characters in the input field. I had to learn about sanitizing user input and escaped characters from scratch. Has anyone else had their first project break in a super simple way like this?
2 comments
Log in to join the discussion
Log In2 Comments
miab1618d ago
Oh man, I once broke a game I made by typing my own name wrong.
8
the_stella18d ago
Laughing but only because I've been there. My first project crashed because someone typed "null" into a text box and my code freaked out like it was a personal attack.
5