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
Sadaf Naveed
5,028 Pointshaving a hard time learning javascript
Hi, i have started learning Javascript through the course 'Beginner Javascript'. I follow along with guil's videos, also attempt quizes, but still not been able to understand the basics he is teaching in this course. i watched videos couple of times but when i attempt to build something i am totally blank. i would love to hear any suggestions or source that could be helpful. Thank you so much in advance for your time.
2 Answers
Sadaf Naveed
5,028 PointsThank you Dave! This is my first time asking a question here and am happy to get a response. I don't have a working experience in web . I did bachelors in Mathematics but my faith pushed me to change career and i ended up going to college to get web development classes. That didn't help me much so i started at treehouse. I learnt html and css from the courses at treehouse and am pretty good at them now. i built a basic website using html and css and want to add interactivity using Javascript but having a hard time implementing what i learnt from "beginner JavaScript" course. i do spend time on mdn but i get frustrated sometimes as learning alone at home is not really helping me. No one to encourage plus stress of learning sooner so i can find a job soon is another thing that i am unable to come out of :(
Dave StSomeWhere
19,870 PointsSadef, I hear ya, wish I knew how to make it easier, but as they say, gotta start with taking a step...
For me, having a specific task/goal works best for learning. What interactivity to your web pages have you tried. Can you do a button that alerts hello world (official starting point)?
Also, a couple of things to keep in mind during your quest to assist the community in being able to assist:
- Ask specific questions - as opposed to such a broad topic of "learning javascript" how 'bout something more specific like - I have a <div> and when my special button in that div is pressed I'd like the background color changed to blue.
- Provide your existing code related to the issue - like the html for the button and div, any applicable css, how your javascript is invoked (inline or linked)...
- Get intimate with the console - a easy way to try stuff out
- Get to know some helpful sites - like jsfiddle and codepen
- Think about your workflow - editor, IDE, localhost
- understand how the pieces work together - client side javascript, html, css, server side language (Node.js, php, ruby, python...)
- Enjoy the ride
So, what kind of spiffy javascript exercise would put a smile on your face?
Dave StSomeWhere
19,870 PointsDave StSomeWhere
19,870 PointsHi Sadaf,
A lot depends on your background - do you have any web or programming experience?
Attempt to build something is a very good sign and being totally blank is a great time to utilize this forum/community.
Also, learning how to utilize reference materials will be necessary, so you should be spending a significant amount of time on sites like MDM.
So, what have you tried to build and how far did you get before "totally blank"?