Want to Learn Coding-Where to Start?
From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.
| Announcements | Posted on | |
|---|---|---|
| Enter our travel-writing competition for the chance to win a Nikon 1 J3 camera | 21-05-2013 | |
-
Want to Learn Coding-Where to Start?
Over the summer I want to learn how to code as it looks interesting but I really don't know where to begin. I will be doing maths at unviersity if that makes a difference.
I have downloaded python as it looks like the best one for a beginer (I won't be serious about this, its jsut something i want to do for fun so I won't throw myself in the deep end with c++ as I have seen recomended).
Is this the right languege to start? Where can I find materials for self teaching it?
Thanks -
Re: Want to Learn Coding-Where to Start?
I know you said you didn't want to start off with C++ but i just started from no previous coding experience using this site http://www.learncpp.com/
It starts right from the start using visual studio express and explains everything pretty well imo, i'm about halfway through the tutorials now and enjoying it
-
Re: Want to Learn Coding-Where to Start?
Python is an excellent place to start. It's a great way to learn fundamentals without having to learn language-specific (or even framework-specific) details that will cloud the most important thing for a beginner to learn; control flow and fundamental, universal programming idioms. It also gives you access to multiple paradigms so you can learn, for example, object orientation without the obstacle of learning new syntax.
As a bonus, it's also an extremely useful language for just about anything. There are libraries readily available for almost all applications and - even if you need to use a specific language for one reason or another - Python will always be useful for writing scripts to do quick calculations, parse text, format documents and any other tasks you need done quickly.
The best part is there are loads of resources for getting started on the official site: http://wiki.python.org/moin/Beginner...NonProgrammers -
Re: Want to Learn Coding-Where to Start?if i want to download phython should i use 2.7 or 3.2? i am a beginner.(Original post by Planto)
Python is an excellent place to start. It's a great way to learn fundamentals without having to learn language-specific (or even framework-specific) details that will cloud the most important thing for a beginner to learn; control flow and fundamental, universal programming idioms. It also gives you access to multiple paradigms so you can learn, for example, object orientation without the obstacle of learning new syntax.
As a bonus, it's also an extremely useful language for just about anything. There are libraries readily available for almost all applications and - even if you need to use a specific language for one reason or another - Python will always be useful for writing scripts to do quick calculations, parse text, format documents and any other tasks you need done quickly.
The best part is there are loads of resources for getting started on the official site: http://wiki.python.org/moin/Beginner...NonProgrammers -
Re: Want to Learn Coding-Where to Start?I hear they're actually quite different from each other, and Python 2.x is still being supported even though version 3 is out. So considering Python 2 has been around longer you might find there's more information out there for it (guides, tutorials, etc.).(Original post by non)
if i want to download phython should i use 2.7 or 3.2? i am a beginner. -
Re: Want to Learn Coding-Where to Start?i know this is really simple but i don't understand why my HTML code isnt't working correctly. please can you check and explain why the pictures of penguins isn't appearing?(Original post by Psyk)
I hear they're actually quite different from each other, and Python 2.x is still being supported even though version 3 is out. So considering Python 2 has been around longer you might find there's more information out there for it (guides, tutorials, etc.).
<html>
<head>
<title>My Own Webpage!</title>
</head>
<body>
<a href="https://www.google.co.uk"</a> hello world</a>. <img src=Penguins.jpg/>
</body>
</html>Last edited by non; 21-06-2012 at 19:29. -
Re: Want to Learn Coding-Where to Start?
Web coding may be a good place to start. Try the Rails for Zombies website!

Assuming that this isn't a troll...(Original post by non)
i know this is really simple but i don't understand why my HTML code isnt't working correctly. please can you check and explain why the pictures of penguins isn't appearing?
1) "Penguins.jpg" needs to be in quotes, like this, either double or single. And the file needs to be in the root directory.
2) You don't need to escape the single tag [with the backslash at the end] in HTML5.
3) Your hello word text and a tag should be like so:
<a href="https://www.google.co.uk">hello world</a>Last edited by faber niger; 21-06-2012 at 19:42. -
Re: Want to Learn Coding-Where to Start?Is there a file called Penguins.jpg in the same directory as the html file? This is where the browser will look for it.(Original post by non)
i know this is really simple but i don't understand why my HTML code isnt't working correctly. please can you check and explain why the pictures of penguins isn't appearing?
<html>
<head>
<title>My Own Webpage!</title>
</head>
<body>
<a href="https://www.google.co.uk"</a> hello world</a>. <img src=Penguins.jpg/>
</body>
</html>
Also, your a tag is malformed (you've mixed in part of a close tag with the open tag), and you should have quotes around the src attribute of the img tag. Here's a fixed version:
HTML Code:<html> <head> <title>My Own Webpage!</title> </head> <body> <a href="https://www.google.co.uk">hello world</a>. <img src="Penguins.jpg" /> </body> </html>
-
Re: Want to Learn Coding-Where to Start?(Original post by jismith1989)
,
Thanks both of you!(Original post by alex-hs)
,
the code works now:
<html>
<head>
<title>My Own Webpage!</title>
</head>
<body>
<img src="Penguins.jpg"width="102.4" height="76.8"><a href="https://www.google.co.uk"> <font size="10">hello world!</font></a>.
<h2>Welcome to my webpage</h2>
<p>Coming soon will be my completed webpage that will wow and impress you!</p>
</body>
</html>
but what i would like you to tell me is 'what should i add onto it now'? i know it's really simple but i've got no idea.
i've got lots of ideas for complicated things but nothing simple that i can do without a lot of work.