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 trial

HTML Accessibility For Web Developers Build an Accessible Form Error Messaging

Tural Rzazade
Tural Rzazade
3,750 Points

Icon from Font Awesome doesn't work

When I use

<i class="fa-solid fa-triangle-exclamation"></i> 

from Font Awesome the triangle does not appear as intended. By the way, this line of code is different than the one in the video.

<i class="fas fa-exclamation-triangle"></i>

1 Answer

Steven Parker
Steven Parker
231,261 Points

These both work for me. I get a :warning: in both cases (but a black one).

The problem might be in other code not shown here. It's always a good idea to share the whole project by making a snapshot of your workspace and post the link to it.