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

How to Reverse Engineer an HTML5 web app?

I'm curious to know more about how HTML5 web apps work. This is the example I would like to reverse engineer. Is such a thing possible? How?

http://www.mathlearningcenter.org/web-apps/pattern-shapes/

1 Answer

Hey Jess,

When you find something you want to make look good, there is a very nifty site called Dirty Markup that will take HTML, CSS, and/or JS and clean it for you, so that it is in a nice, formatted mode that you can better observe. I went to the source of that page you have, went down to the bottom of the page where the main script is, and clicked that which opens up the raw contents of the js file. Copy all of that and paste it into that Dirty Markup site. Then, you can hit JS and hit Clean. Play around with it! :)

very cool. thanks!!

No problem, Jess! Happy Coding! =]