Definition: In this task, you are given a Reddit post as a text. Your task is to generate a title for this text. The title should start with "TIFU by", followed by a situation that caused humor. The title should contain 7-12 words, ideally.
Input: Text: so, obligatory it didn't happened today but a week ago. however i suffered the consequences from it today, so i feel like it counts still.

i started looking for a new job not long ago, and 2 weeks ago i found an offer online for a job that was exactly what i was looking for. great job, great place to work at, good salary, nice advantages, etc... the whole shazam.
i went ahead and submitted my application on friday night, and the next tuesday i got an email asking me if i was available the next day for a preliminary interview on the phone. i was, told them so, and sure enough the next day i got them on the phone.
that part went great, and they gave me a technical test to complete for the next tuesday (today).

i got really exited to about it (and i should also point out that i'm a web developper for the next part to make sense), and got cracking the same evening. spent 4 hours making the chat application, was pretty proud of it, so i sent them the file.
and this is the part where i fucked up. until now i was only accustomed to entry level job applications, so technical test were just to make sure you could actually do some coding. and in my euphoria i did my code like i would do some mock up for clients. i bundled all my code in a simple html file, with all the logic directly in the controller. i was so focused on making a pretty app with nifty perks that i completely overlook code structure.

i didn't realized it, but sure enough today i got another call, telling me they had reviewed my code and wouldn't follow it up with an actual interview.
the person that talked to me was hr, so wasn't able to tell me exactly what went wrong, but i still asked if she could give me some details by mail later. if i fuck up might as well learn from it for the future, right ?
still feeling pretty bummed out.

 

edit: (it's making me really self conscious about it now...)
what was asked: make a single page app of 2 chats sending messages to each other (on the same page). no server side code. can make use of frameworks or libraries.with a small drawing of what it should looks like.

what i did: the app, added some spies on the input fields to alert the other chats when someone is writing, added buttons to open and close as many chats as you like on the same page, and a "press enter" to send message. link: 
https://rbfi.io/dl.php?key=/rydf/chat.html

what went wrong:
- everything was in a single file, no separation between code, styling, html. when it's usually 1 file per component.
- i included 4 js libraries/frameworks. even though i'm actually only using 2, added the other 2 when i mindlessly copy/pasted the cdns from bootstrap.
- all the logic is in the controller, when i should've moved the chat entities and content into services.

edit 2: reuploaded the file to remove mentions of my name and the company name.

TIFU and lost a chance at my dream job