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

CSS

mrx3
mrx3
8,742 Points

I have a couple questions about the combinators I used and web design ideas.

My code pen is linked below. I decided to practice two combinators with my webpage. I used a child combinator and a adjacent sibling selector. I wanted to select the a href that is a directed child of the .main-content section, and change its background. I used a adjacent sibling selector to select the first paragraphs only, and change their backgrounds? I know I could have used a general sibling selector to select the other paragraph. My question is, did I use the combinators correctly? My codepen: http://codepen.io/mike316/pen/xErst

My next question is, I'm kind of at a crossroads with web design. Most of my webpages I'm making look the same. I'm trying to break through and make better looking websites/pages. I'm just beginning with responsive web design but, I don't have experience with JavaScript, jQuery, php, MySQL, or Ruby on The Rails. I plan on completing those courses I just mentioned after the CSS Deep Dive Section with Guil. Is there any cool ways I can make a better more active site with just HTML or CSS or, am I stuck for now? If someone could point me in the right direction with this stuck in rut problem I'm having, I would really appreciate it.

Sorry for the long post and thank you for any help/advice, I really appreciate it.

1 Answer

In regards to your first question: they're all correct, so great job!

In regards to your second question:

Don't sweat too much about design block. Ideas will come naturally when they want to. You can also really get inspiration by reading blogs such as Codrops and hanging out in web design communities like the web_design subreddit, or just by surfing the web and noticing tiny things that really improve a user's experience. And there's always Treehouse courses to help with it as well.

You'd probably also like learning Sass and JavaScript.

To put it simply, Sass is CSS on steroids, and once you start using it, you'll wonder how vanilla CSS ever fit your budget. It's pretty simple to get started with, though it does use a command-line interface by default. Treehouse has a great course on it, taught by the hilarious Hampton Catlin.

JavaScript is also really great to learn. It allows you to change the page right in front of the user's eyes, including swapping images, filtering lists, hiding/showing mobile navigation, revealing lightboxes, and a ton more. Jim, Andrew, and Dave all do a great job of teaching JavaScript/jQuery, and Treehouse has several courses from them on the language.

Hope this helps!

mrx3
mrx3
8,742 Points

Thank you so much for the nice compliment. Also, thank you for the links to various blogs and such. I really appreciate your help Ryan. I'm definitely going to check out each link you posted.

Glad I could help. Also, don't forget the Treehouse blog! And the Treehouse show, for that matter. More hilarious puns have never been seen.