Author Topic: Website Megathread  (Read 1314 times)

I've been working on this website thingy for a few weeks or so, and it seems to be turning out alright. I don't have a server to put it on so here's the dropbox link to it. Open the .php files in your favorite browser.

Zanaran's Site

I made them php files instead of html for when I eventually get around to learning that, but it doesn't seem to be working on my browser at the moment (I'm using Pale Moon). At the "and some PHP" part, if you see a whole bunch of info there about php then tell me, because it's something on my end for sure.


what
it's called reserving the second post in case you hit the character limit

I don't have a server to put it on...
...I made them php files instead of html for when I eventually get around to learning that, but it doesn't seem to be working on my browser at the moment
PHP is a server-side language, you need to install a web server and PHP (or rent one from a hosting service) and run the php files through that

As far as your actual content, I do have some critique:
First thing you should know, is that the <head> tag is not to be confused with <header>
<head> is for metadata and stuff like <title> only, anything that should be displayed on page (like all your links) should be within the <body>. Browsers may choose to render it anyways, but they're not required to as it is invalid.
wait derp i was confusing <link> with <a>
Second thing you should look for is some sort of template system, so you don't have to do things like copy and paste the same header into every page. ASP.NET has master pages, I don't know what PHP offers.
Third is more minor, but HTML5 added a bunch of tags such as <nav> and <content> that effectively replace <div id="nav"> and <div id="content">. It also deprecated tags like <center> in favor of CSS (text-align:center)
« Last Edit: September 03, 2015, 07:24:45 PM by Headcrab Zombie »

Third is more minor, but HTML5 added a bunch of tags such as <nav> and <content> that effectively replace <div id="nav"> and <div id="content">. It also deprecated tags like <center> in favor of CSS (text-align:center)

I should start using these.


Change jquery to JavaScript, because jquery is just a JavaScript library.

Done

Edit: Also what website hosting services that are cheap and not scams?
« Last Edit: September 03, 2015, 08:25:41 PM by mario0126 »

Edit: Also what website hosting services that are cheap and not scams?
Godaddy at least.

Edit: Also what website hosting services that are cheap and not scams?
buying your own server and hosting everything yourself
$5/month VPS + $8/year domain

not bad

I don't know what PHP offers.
if you're literally just printing the same things on each page, you could make your own functions to do it, or make one single page and include page.php where the content would be.

i'm pretty sure there's probably some library/libraries that's much more in-depth with templates, though

or hell, you could also use javascript and jquery to do it too. make one singular template and modify it as need be. $(".element").load("page.html") is a thing

php SUCKS
LONG LIVE THE SNAKE KING python
buying your own server and hosting everything yourself
$5/month VPS + $8/year domain
you aren't really hosting it yourself if you have a VPS, and saying "get a VPS" doesn't help him anyway, he still doesn't know any good providers

I bought a making websites for dummies
So far it's good

I bought a making websites for dummies
So far it's good
buying a book for something as simple as HTML is probably not the best use of your money
I'd suggest codecademy. it's interactive and therefore convenient, and free. it isn't perfect but it teaches you well enough and all the more advanced stuff you're probably going to do better learning on your own through experience and junk

buying a book for something as simple as HTML is probably not the best use of your money
I'd suggest codecademy. it's interactive and therefore convenient, and free. it isn't perfect but it teaches you well enough and all the more advanced stuff you're probably going to do better learning on your own through experience and junk
Books has always been my thing
My little brother hates books
And everybody in my class in the 1st grade sucked at reading
And I read chapter books in the 1st grade
books are kool

buying a book for something as simple as HTML is probably not the best use of your money
from personal experience here - buying a book to learn to code in general is most likely going to be a waste of time / a disappointment unless the book is kept up to date fairly well(like maybe an ebook or something? idk i don't use those too often), since interpreters often update and change in ways that tend to break code. I bought a book to help guide me through python years ago (i had searched videos a whole bunch and couldn't find any(weird, I know), and the book also had website references to help 'test' you on your skills better), and it turned out that the book was already outdated despite it only having been released a few months earlier.

Your best bet is to use video resources if you can find them(they're a lot more prevalent now) for learning 'normal' program languages, or using something like http://www.w3schools.com/ for learning how to make webpages(or just scour the internet yourself, most 'webpage coding' languages tend to be pretty stable(compatibility wise), so .pdf resources are good for the basics).

php SUCKS
LONG LIVE THE SNAKE KING [col or=transparent]python[/color]
o u

you aren't really hosting it yourself if you have a VPS, and saying "get a VPS" doesn't help him anyway, he still doesn't know any good providers
you don't have to be 500% technical about it, geez
he said he wanted something cheap, there's plenty of options VPS-wise