95
Awlex
8y

"Ok, the site looks fine. Now let's move the style tag into it's own file."

*makes css file*

"WHY DOES IT HARDLY EVER LOAD!?!?, I checked the syntax trice"

*Spends 20 min. Asking friends for help, but none of them knows a reason*

"Time to ask the teacher, I guess"

*Teacher comes over, but has no clue either*

Teacher: "Give me the files, let's test it on my laptop"

*Css doesn't load there either*

*Teachers pair programming and trying some serious debugging technics. No progress*

*I decided to look at the sourcecode while refreshing the site*

1. Refresh: Css is loaded properly
2. Refresh: Css is gone, and source turned into various asian symbols.

Looks at the (default) file encoding: UCS-2
WTF NOTEPAD++, I SPEND 2 HOURS OF MY LIFE BECAUSE YOU DECIDED THIS WAS A PROPER ENCODING!

Web programming seems fun.

Comments
  • 8
    Well, at least npp tells you what it thinks. Wordpad juat fucks up stuff without telling you
  • 12
    Use Sublime Text!
  • 2
    @nitaj96a - I'd hazard a guess the "serious css debugging" means in-lining that shit.
  • 1
    There are so many free editors using notepad shouldnt be a thing
  • 3
    Use an editor that doesn't suck like subl--atom.io
  • 1
    Visual Studio code is Also nice
  • 0
    Did you have your CSS drivers installed bud?
  • 3
    WTF-8
  • 1
    @BirdLawExpert Notepad++ isn't at all Notepad and it excels at being a text editor (it's not an IDE, so I don't judge it like one).
  • 2
    "Serious debugging"
    > is markup language
  • 0
    @Neotelos It doesn't excel at being a text editor. Try sublime text and you'll discover it by yourself
  • 0
    @nitaj96a Maybe Atom is better, IDK because I haven't tried it :P
    I've heard that atom is too heavy, do you think it is real?
Add Comment