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

Need direction to achieve a specific portfolio using AJAX/Angular, etc.

First, I'm not sure exactly the best choice of languages to use for this, but based on the beginner training from Treehouse in Bootstrap, jQ, JS, AJAX, JSON, angular JS, etc., I'd like to accomplish a dynamic portfolio.

Basically, I have a images that fall into categories: X, Y and Z. When someone clicks on a nav button, it should display those images without leaving the page and going to an old school HTML/CSS page.

I've gone through the Treehouse courses, and it's a bit much to grasp in a short time, but I'd appreciate it if someone can layout the learning steps to achieve this, e.g. "First, learn to put all of your images in an XML document. Then learn AJAX to pull that data onto the page..."

Sorry if this is confusing, but I'm not sure how to approach this.

Scott Evans
Scott Evans
4,236 Points

I agree with Colton Ehrman , Ajax with jQuery should easily allow you to complete the project you have in mind. If you need any other sort of guidance, let us know :D

2 Answers

Really, you should be able to accomplish your task with AJAX

AJAX is not a new language, just a way of using javascript. The acronym stands for Asynchronous JavaScript and XML. I have found that the easiest way to use AJAX is with jQuery, it has a very nifty function called getJSON(), you can check it out here http://api.jquery.com/jquery.getjson/

Thanks to both of you. This class is moving VERY quickly, JS one week, jQ the next, AJAX the next, angular the next, etc. As soon as I begin to grasp on concept it's on to another, and pretty soon my brain is melting.

Your input lets me focus on jQ, AJAX and JSON.