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

General Discussion

Henrique Machuca
Henrique Machuca
5,611 Points

Creating a BLOG - HTML

Hello ppl,

On the subject of having a blog section inside your website, is it possible to have a good, responsive and powerful one inside a website developed with HTML, CSS and JavaScript?

Is it better to build a website with wordpress (since it will have a blog section)?

Or even, having just the blog section referenced to a wordpress domain, while the other chunk of my website lives outside of it, in its HTML state?

What is the best practice here?!

Sorry if I seem a little confused but IĀ“m new to website development.

Thank you.

3 Answers

Hugo Barbosa
Hugo Barbosa
5,308 Points

you should learn a back end language such as php, python or ruby. in doubt, check this infographic https://blog.udemy.com/modern-language-wars/

Henrique Machuca
Henrique Machuca
5,611 Points

Thanks for the response Hugo, the info graphics were really good!

But my doubt on the best approach to develop a website that should have a blog inside of it remains.

How should I address it?!

Thank you.

Konrad Pilch
Konrad Pilch
2,435 Points


There are many ways you can look at this.

To make a blog, you need a server side language. PHP or Ruby on Rails. You can use a bit of help from JS as well i believe. You can use jQuery Ajax ( which is also javascript) to make sever request.

In order to do a blog, all you need is HTML/CSS and PHP knowledge. PHP comes with MySQl as well as with phpmyadmin.

You can look at tutorials here on treehouse and even here though this is paid one , but its good after you watched treehouse , i got it for 8pounds when there were like 97% off. The quality isnt the best nor the teaching but it shows you a lot of stuff. Start with treehouse and then you can move in and then comeback to treehouse to get the best practice and all the tricks and stuff .

I see it this way.

Sass/Compass (optional) PHP
And then Finlay WordPress.

You can code your webiste all in HTML and CSS and then convert it to wordpress template with little PHP . You can check out Bootstrap to WP in WP section here on treehouse.

If you learn just PHP, that would be enough to do a blog. Its kind of pretty simple if you get it. You will understand it fast . Though, writing it all by your self, might take time . If you get the basics , and learn how it works, and then get allways help form vids, youll learn about it and you can as well make a blog.

YOu can then move into Ruby , a clean and easy and very powrful server language Ruby on Rails . Its new as well . And then Python. That will be a full stack for a web developer.

Of course, then you can choose one to specialise in . JS is becoming a lot powerful now. You can make requests and stuff and you have new libraries comming etc.. like CSS is turning like in JS if you use Sass .

In cople of years, JS will hande most of the work in my opinion.

If you want then get into software developement, it will be much easier and you will pick it up fast. If you start with Java , itt similar to C and then you will be a full stack of web devlepement and software .

But mainly to make a blog on web, you need PHP knowledge and MySQl which will com e with PHP learning .

Hope this help! :)