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

PHP Build a Simple PHP Application Adding a Contact Form Creating Input Fields

I suffer from forget too much,but when I read it again.I can understand,but I can't write with out show the origin code

is it normal for beginner ? If I return to see video , is it helpful or not ? what's the great way to write with out seeing or review ? which excercise benefitial for me ?

6 Answers

Steven Snary
Steven Snary
17,540 Points

It is normal for a beginner to understand it so well when it's being taught - and then when you close the video you can't remember how to do the simplest things.

I find the best way to learn is to try to code it without any help - click the button and wait for the red error message to appear - then look up the correct answer and then study what you did right and what you did wrong.

Doing it over and over again will help as well as going through each line of code and explaining to your self what each line and each word in the code does.

Adama Sy
Adama Sy
7,076 Points

Remember good practice.

comment while coding. That's the way you remeber easily where you at or what you did

.

Thnk you. but now I am learning build simple app php, pervious course like html I didn't practice it just take it and pass code challenge. so, should complete php development and then go to practice or should practice after each specefic course like css and database ?

Adama Sy
Adama Sy
7,076 Points

Why would you learn PHP if you can't handle basic stuff like html/html5 css and javascript to build your website beautifully first?

Unless PHP is to do something you want and you don't need the rest. All is about what you want to do with this course brother. What is the outcome you are looking for?

Steven Snary
Steven Snary
17,540 Points

I would practise after each video - or at the least after each section.

As far as why learn PHP before Javascript, I know that I wanted to learn a server side language first. Just preference for what I'll be building.

Konrad Pilch
Konrad Pilch
2,435 Points

I would say what above but!

Look you can remember and no one will ever do remember everything about any lanugage . Even Nick Pettit in HTML videos said that he need to look up for the simplest things like e.g. <link rel="stylesheet" href="css/style.css" type="text/css"> .

The key to it is you have to get the logic to it and learn how it works . Once you know how it works and you ahve the logic, yo ucan make anything you like. There are refferences to pices of code because im sure you wont remember all the commands so you will have to look up for them . And because of you knowledge, you will know how to use it, you will figure it out .

Also, do a beside project every secotion. I do like code a website with bootstrap and then i added the php header footer, dates, variables for name and the title . Easy uh? bu do it with other nd it will get much easier and stuff ^^ hope helps. Uh i just saw this was 6 months ago xd Youprobably can code in that allready : p