Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjason limmm
8,009 Pointserror that i cannot find
here is my snapshot: https://w.trhou.se/bxgf4unt5a (it may take a bit of time for the file to be fully loaded)
i first encountered this error when i was trying to add a stylesheet to my website when i tried to comment out the line where stylesheet was imported i still got the error, i think it's something in my static server
1 Answer
Rohald van Merode
Treehouse StaffHey jason limmm 👋
I'd recommend trying to log the err
to the console in your global error handler. This will print the error that is happening to the console which will help you debugging this issue. Here's the error that is being logged:
Error: /Users/rohald/Downloads/project/views/mainpage.pug:5:37
3| block content
4| h1#welcome Welcome to apple.con
> 5| a#productslink(href="/products")#productbutton Press for product
-------------------------------------------^
Duplicate attribute "id" is not allowed.
Hope this helps to get you going again 🙂