Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Jajascript and Site Design price

  1. #11
    Join Date
    Nov 2006
    Posts
    236
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    I try to use tabs I indent or line break anything. What I'm worried about is some one going in and deleting a <div> tag in confusion and breaking the page.
    some tags can be removed others can't. I have many nestled divs.

    I commented everything in the CSS sheet, I wasn't that logical with ID's and class names.

    I decided to lower the price with the idea that having a nice looking website that I can show people is a trad off. The sites I do have up are unfinished or too tropical/busy/awesome to show to a company. Plus I'm looking at a referral.


    Oh and yeah I should fix the misspell.

  2. #12
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Oh. I'm thinking about PHP. You don't need to comment your HTML. HTML should be readable by anyone that knows what they're doing. For HTML:
    1. Use tabs well.
    2. Add comments for sections if it's not clear, like <!--FOOTER-->
    That's it. You do NOT need to comment HTML heavily or line by line.

    For Javascript and PHP, do that-- comment everything you can. (Within reason anyway. You don't need to take that literally.)

    For CSS, comment the sections. No need to comment the actual properties unless something is particularly unusual. CSS, like HTML, is standard. Easy to read.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #13
    Join Date
    Nov 2006
    Posts
    236
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Actually I do have something unusual In the CSS. I should go back and comment on that. I'm thinking the people who will be trying to mod it will have little to no website building experience. I seem to attract those types of people because if they did know HTML they would do it them self.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •