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

Abraham Juliot
Abraham Juliot
47,353 Points

Hash tag generator - project feedback needed

Hi, recently I created a hash tag generator using plain javascript. I would greatly appreciate any input, suggestions, or feedback. Thank you

http://codepen.io/abrahamjuliot/pen/WxdYwm

I was inspired by a codewar challenge which may be viewed at https://www.codewars.com/kata/52449b062fb80683ec000024

1 Answer

Looking good so far! Maybe you'd want to show example input/output, just to be a little more user friendly?

Also, I noticed if you type an ALLCAPS word in the input, it converts it to TitleCase anyways... Not sure if it's worth fixing that, but just something to be aware of.

Oh and some special characters are allowed, but not others... Perhaps you could refer to Twitter or Instagram to determine a set of allowed characters.

Great work, and happy coding!