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

JavaScript JavaScript Basics Hello, JavaScript! JavaScript Challenge Solution

Hi, How did you add fire after the BOOM Text? Is it an image or Icon?

Hi, How did you add fire after the BOOM Text? Is it an image or Icon?

2 Answers

Steven Parker
Steven Parker
231,275 Points

While pasting emoji's directly into your text will usually work, a better way to include them is with HTML entity codes.

The code for fire is 🔥 (decimal) or 🔥 (hex). Either one displays as: šŸ”„ (I used the hex code here). There are a number of web references for HTML entities, I got this one from compart.com.

For use here in the forum, Markdown formatting also displays some emoji's by name, but they may look different. This one can be displayed with the code :fire: which displays here as: :fire:

Thanks

Heidi Fryzell
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 Points

Hi Prasanthi,

The fire icons are actually emojis.

šŸ”„

I use a Google Chrome Extension to lookup and insert emojis. It is called "Emoji Keyboard".

You can also just copy and past them from emoji websites like this one: https://emojipedia.org/fire/

That will take you directly to the page for "fire" and there is a button there to copy it.

You can copy it directly into your code.

I was kind of surprised that you could paste emoji's directly into your code. But I think as long as they are in text that is going to display on the page, they should work.

Happy Coding! šŸ™‚

Heidi

Thanks