Hacker News new | past | comments | ask | show | jobs | submit login

I just tried the CSS Buttons course on a lark, because I felt I'd be able to breeze through it. I may have hit "Reset Code" at some point, because around checkpoint 4 or 5, the CSS was wiped out and the HTML was back to square one.

I quickly retyped everything, but... only the HTML changes seemed to take effect. I tried targeting the CSS to a class I put on the HTML, then to an id, then to the div itself, and a bunch of different simple litmus tests for whether or not it was working like just applying a color, but nothing worked.

After each change, the preview pane would re-render, so it was picking up the changes. I tried viewing the preview in full screen and refreshing, but nothing got the CSS to apply again.

Anyway, the site looks great. Congratulations on the revamp regardless of nitpicky bugs.




I did the CSS Buttons project earlier this week and had the same issue you described. After checking the Q&A Forum, I realized I needed to include the stylesheet. That fixed the issue. I don't think this is a bug with that project.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: