Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
      You have completed Web Design Q&A with Nick!
      
    
You have completed Web Design Q&A with Nick!
Preview
    
      
  Nick is asked, "What's the best way to code a website?" Nick suggests coding the HTML first and then building CSS on top of that.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
                      [Treehouse Teacher Q & A]
                      0:00
                    
                    
                      [Question: What is the best way to code a website?]
                      0:05
                    
                    
                      How do you generally go about coding a website like that?
                      0:06
                    
                    
                      That's actually a really good question.
                      0:09
                    
                    
                      So sometimes when we're teaching things, we try to teach it
                      0:11
                    
                    
                      in the best way or the most correct way, but really with web designing development,
                      0:16
                    
                    
                      it's a little bit more fuzzy than that--there's not really going to be a best way
                      0:25
                    
                    
                      to do things all the time and often times when I am making websites,
                      0:29
                    
                    
                      I'll go ahead and code up the HTML first.
                      0:34
                    
                    
                      I will sit and really think about--okay, here is the content that I have,
                      0:37
                    
                    
                      here is how I want to go ahead and structure it.
                      0:42
                    
                    
                      I think I'm going to need these divs or this area or whatever and structure all of the elements. 
                      0:45
                    
                    
                      Then I'll go ahead and jump into my CSS and style everything, but often times
                      0:54
                    
                    
                      it is a little bit more kinetic and messy than that.
                      1:00
                    
                    
                      You kind of go back and forth between HTMLing and CSSing
                      1:02
                    
                    
                      until you kind of arrive at a conclusion.
                      1:07
                    
                    
                      I think a website is a lot like a painting or a film or something where it's never really quite done.
                      1:11
                    
                    
                      You could always keep tweaking it and doing things to it,
                      1:19
                    
                    
                      but the most important thing is that you lay down that good structure first
                      1:22
                    
                    
                      and then go ahead and figure out--okay, how do I want to present that content
                      1:27
                    
                    
                      and always keeping that clean separation of presentation and structure in your mind
                      1:32
                    
                    
                      I think just help in so many different ways.
                      1:37
                    
                    
                      [Question: What is the best way to code a website?]
                      1:40
                    
                    
                      [Treehouse Teacher Q & A]
                      1:41
                    
              
        You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up