Programming is not for everyone. You have to be detail-oriented, persistent, and be able to focus and put in some time.
The quickest way to learn is by doing. Google is a programmer's best friend.
Find the sites which contain tutorials, examples and syntax rules for HTML, CSS, Javascript, PHP and SQL. Don't try to read through them.
Just bookmark them for reference. Leave Java and C# for later. PHP is the base for Wordpress, so start there.
Write up some specifications for a small website as if you were going to hand this over to a programmer. Dropdown menu on top, use this image here, put ads here, need a scrolling image feature, etc.
Are you going to use a database? Example -- maybe a table with products you'll display based on information about a customer.
So you'll need a product table with product name, product URL and product type. You'll need a customer table with email address and type. You want to display products with a type that matches your customer type.
Now that you know what you want, take one piece at a time.
I googled - how to make a web page in php - and I got
How to Create a PHP Website Template from Scratch .
Copy what they did here and make this work on your website. Then change it to look like what you want.
This might take a while because you are learning -- google what you need. - how do I change font size in CSS -- etc.
You may even want to create a special web page for future reference with examples of CSS that you know you will use.
All programmers keep 'shell' code. This is an example of code they have worked out to do a specific function which can easily
be altered for new pages.
Setting up the database.
I googled - how to set up a mysql database -
First showing is
MySQL :: Getting Started with MySQL
My eyes glazed over -- this is good information but... I don't want an art history lesson to find out the price of a painting -
let's try again
MySQL for Beginners How to create a MySQL Database | WebProNews
much better - phpMyAdmin is on cpanel
Set up your database.
Now - how do I get this data and display it?
I googled - how to get data from a mysql database in php -
and chose
PHP tutorial - How to connect and fetch data from mySQL database in PHP
this has a code example -- always look for the code example and not paragraph after paragraph of explanation.
put this code into your page that you created and modify it to your database name and table and fields -- say, just display product and type get this to work before moving on.
YouTube tutorials are good if you have the patience. But often there are 30 seconds of info in a 6 minute tutorial. I use these
as a last resort. I just want to know how to do x. They are often like - Hey, I'm Joe Schmoe with programmer's anonymous and
I have 30 years of experience and I'm going to show you how to do x, but oh wait, here's my cat helping me out and let's talk about how PHP got started in the early years and did I tell you that I do one-on-one mentoring.....
Ok, but I wanted to show products that match a customer type with the product type. How do I do that?
I googled - getting data in sql from two tables where fields match -
I found this
SQL Joins which is a good explanation but has no code example
this is better -
Retrieving Data from Multiple Tables with SQL Joins
Ok, so I take the code and plug in my tables - product and customer and say where the product type matches the customer type.
Now get this to work.
Another good way to learn CSS and PHP is to install wordpress, install a theme and start changing code.
Go to appearance, editor and make changes to stylesheet and see how that affects the site.
Are you starting to see a pattern here? If you get desperate, ask questions in a programming forum.
Just wade in and do it. You will pick up knowledge as you go -- if/then/else logic, do loops, etc. Small accomplishments
breed confidence and turn into bigger accomplishments.
Pros and Cons of learning how to program --
Pros - If you learn, you won't have to pay someone else to do it. If you learn and pay someone else to do it, you'll be able to
tell if they are any good and they won't be able to tell you a five minute fix is 40 hours of work. You can probably get a job as
a programmer if you get good at it and need money (and the outlook for web programmers is good). You could write your own software and sell it - could be quite lucrative. Mobile apps and cloud programming are going to expand. For some people, programming is like doing puzzles all day.
Cons - Learning curve to get really good - large investment in time and focus. Would you put that time to better use? Hmmmm...
some say they won't do it because they make more money coming up with the ideas and paying someone else (if you don't have the money, is it worth the gamble to borrow it?) to program. Probably true. Just like any job, you won't get rich programming unless you own your software and make it big (Facebook). But if you spend a lot of time daydreaming, reading forums, etc., you may just have the time to learn to program. It can get really boring without challenging projects. You will lose all your liberal friends because you have learned to think logically.