1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Learning programming and javascript

Discussion in 'Computers & Technology' started by Jan, Dec 5, 2017.

  1. Jan
    Offline

    Jan Senior Member
    PayAdmin HeLL FM DJ

    Joined:
    Jul 14, 2014
    Messages:
    546
    Likes Received:
    103
  2. Hans Tier
    Offline

    Hans Tier Member
    PayAdmin

    Joined:
    May 1, 2017
    Messages:
    118
    Likes Received:
    9
    Really depends on what you are doing. Since you are apparently making web stuff I would suggest using JS only when needed. Since things like html, css and js are interpreted by the browser, test your stuff in target environments. (hellclan.co.uk css for example is throwing tons of stuff where my browser ignores declarations). Write any code and script structured and readable. And document + comment at least your PHP. When working with Databases and CMS, use the connection your CMS gives you.
     
    #2
    • Like Like x 1
  3. Jan
    Offline

    Jan Senior Member
    PayAdmin HeLL FM DJ

    Joined:
    Jul 14, 2014
    Messages:
    546
    Likes Received:
    103
    I am currently using a program called webstorm. I use html with javascript in it. I am learning the basics now.
    EDIT: Currently using w3school for simple instruciton for things, but if you have another website that is better, then please leave a comment!
    https://www.w3schools.com/
     
    #3
  4. Hans Tier
    Offline

    Hans Tier Member
    PayAdmin

    Joined:
    May 1, 2017
    Messages:
    118
    Likes Received:
    9
    w3schools is good for beginners, as it offers tutorials and viewable examples. Unfortunately my main reference for html, js and css is available in german only. If you ever go to server-side this is a great reference: http://php.net/
     
    #4
  5. Jan
    Offline

    Jan Senior Member
    PayAdmin HeLL FM DJ

    Joined:
    Jul 14, 2014
    Messages:
    546
    Likes Received:
    103
    OKIII thanks hans :h:
     
    #5
  6. Nomy
    Offline

    Nomy Administrator
    Super Admin ]HeLL[ Member

    Joined:
    Oct 11, 2010
    Messages:
    33,555
    Likes Received:
    2,929
    I think CSS and js are more front end... Php meanwhile is more back end. A lot of newer tutorials for php are object oriented but I personally prefer the procedural style. But php is another topic.

    For CSS I think the developer tools from chrome and FF are great tools to experiment. I don't think WYSIWYG programs compare well and the output on browsers might be interpreted quite differently.

    In js, the possibilities are endless, there are events from the browser and numerous frameworks and libraries such as jquery being quite popular which can be used to provide a lot of functions easily.

    W3schools is great site to learn all of this.
     
    #6
    • Agree Agree x 1
  7. elite-
    Offline

    elite- Member

    Joined:
    Jun 25, 2014
    Messages:
    208
    Likes Received:
    48
    One thing I forgot to do early on was to annotate/add comments on to any my code. Can be really helpful when you go away for a long time to come back to programming and understand the code you have actually written will help with getting back into it, although it is a very tedious task to do, just helps you understand what you're actually coding, as opposed to just copying it from the web.
    To comment just add to slashes like so and add your comment, (e.g. "int example = 0; //declaring a variable and setting it's value to 0"). No need for any more it just automatically stops when you go down a line. Obviously for more basic stuff might not be needed, when coding procedures and functions always helpful to know it is being used for.
     
    #7