Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Abraham Juliot
Abraham Juliot
47,339 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!