Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Can you make brilliant websites with just html and css?

  • 24-06-2013 6:37pm
    #1
    Registered Users, Registered Users 2 Posts: 2,912 ✭✭✭


    Hope I've not annoyed too many of you with my recent thread about copy and pasting. It was a genuine question posed in the context of a learner using this method to learn programming and I hope it wasn't taken up wrong by many others.

    Just want to ask if it is necessary to use php, django, etc. to get a really good looking site. And I don't mean a run of the mill website.
    Can you achieve it by just using html and css?

    Also, would you regard these as easier to learn than python? I've found my progress to be good but slow with python and am thinking I should just start with html and css?


Comments

  • Moderators, Sports Moderators, Regional Abroad Moderators Posts: 2,666 Mod ✭✭✭✭TrueDub


    A good-looking site? Definitely. A useful one, or one that actually performs a function beyond brochureware, not really.

    HTML and CSS are presentation tools, and very powerful ones these days. Static content (content that doesn't change) tends to date or go stale quite quickly. Dynamic content, and particularly websites that achieve a purpose, need some level of extra tooling, even if it's just Javascript (not knocking JS, it's extremely powerful these days).


  • Registered Users, Registered Users 2 Posts: 63 ✭✭ThrowinShapes


    A site isn't much without interesting content, unless it offers some useful functionality.
    If we're talking about just aesthetics, then absolutely. Some fantastic examples here without even using JavaScript http://codepen.io/

    You have to understand that HTML and CSS aren't programming languages. To that extent they are easier to learn and implement. From there you could always look into JavaScript given that it's basically the language of the web.


  • Registered Users, Registered Users 2 Posts: 4,081 ✭✭✭sheesh


    you probably could if you had really great design chops

    otherwiseI agree with the other posters HTML and css are important corner stones but the impressive sites (I'm not talking about the useful ones like google youtube twitter reddit) do require an amount of user interaction and also must be able to be viewed on different platforms alot of this is done with javascript.



    continue learning HTML and CSS but also start looking at Frameworks like foundation, skeleton and bootstrap. look at adding jquery scripts, and then look a cmses like wordpress. and you will be well on your way.


  • Registered Users, Registered Users 2 Posts: 2,912 ✭✭✭pog it


    Thanks everyone. Just a couple of questions that spring to mind from that. Is knowing html a benefit when you go to learn JavaScript?

    Also, in terms of building a good website, not just in terms of aesthetics but functionality and interactive features, etc. what difference is there between a programming language and a scripting language? Do you need programming langs for building high end websites?


  • Registered Users, Registered Users 2 Posts: 1,311 ✭✭✭Procasinator


    pog it wrote: »
    Thanks everyone. Just a couple of questions that spring to mind from that. Is knowing html a benefit when you go to learn JavaScript?

    Also, in terms of building a good website, not just in terms of aesthetics but functionality and interactive features, etc. what difference is there between a programming language and a scripting language? Do you need programming langs for building high end websites?

    Knowing HTML and CSS is useful for the majority of JS work. While JS can be used outside of web pages (such as a server side or glue language), this is still where the language is most utilised.

    A scripting language is a programming language. Generally, when people say scripting language they mean something that is interpreted at run-time and has a specific purpose or niche.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,912 ✭✭✭pog it


    Cool! So how would javascript vs. python vs. Java (programming lang) differ when it comes to making a website?


  • Registered Users, Registered Users 2 Posts: 4,081 ✭✭✭sheesh


    pog it wrote: »
    Cool! So how would javascript vs. python vs. Java (programming lang) differ when it comes to making a website?

    javascript is used 'on' the webpage by the users browser to create things like pictures changes and the fancier mouseover events. python is used on the server for creating pages on the fly.

    Java is used on the client as an applet and and also in java server pages and on the server is still used alot in financial programs that might need more complex computations


  • Registered Users, Registered Users 2 Posts: 3,078 ✭✭✭onemorechance


    A typical web-site can be broken up into 3 parts; front-end, middleware, back-end.

    Java, PHP, etc. (typically) runs on the web-server (middleware). It can be used to handle requests sent by a web-browser and return responses to the web-browser, e.g. a HTML document. It will allow you to apply business logic and rules, query other systems, databases (back-end).

    Javascript runs in your web-browser (front-end). It allows you to manipulate the document or data that the web-server has sent to your web-browser. It lets you add special effects, form validation, and one of it's most popular uses, it allows you to send (AJAX) server requests in the background, i.e. without a re-load of the web-page being displayed in the browser.

    Ideally the front-end, html, css, javascript etc. should all about presentation, good user-experience etc.

    The middleware should be all about business rules and logic.

    The backend should be about data.


  • Registered Users, Registered Users 2 Posts: 2,912 ✭✭✭pog it


    A typical web-site can be broken up into 3 parts; front-end, middleware, back-end.

    Java, PHP, etc. (typically) runs on the web-server (middleware). It can be used to handle requests sent by a web-browser and return responses to the web-browser, e.g. a HTML document. It will allow you to apply business logic and rules, query other systems, databases (back-end).

    Javascript runs in your web-browser (front-end). It allows you to manipulate the document or data that the web-server has sent to your web-browser. It lets you add special effects, form validation, and one of it's most popular uses, it allows you to send (AJAX) server requests in the background, i.e. without a re-load of the web-page being displayed in the browser.

    Ideally the front-end, html, css, javascript etc. should all about presentation, good user-experience etc.

    The middleware should be all about business rules and logic.

    The backend should be about data.

    Thanks a mil for explaining all of that, makes it much clearer and can actually visualise the inner and outer workings now!

    Just a question re. middleware- what do you mean 'business rules and logic'?


  • Registered Users, Registered Users 2 Posts: 3,078 ✭✭✭onemorechance


    pog it wrote: »
    Thanks a mil for explaining all of that, makes it much clearer and can actually visualise the inner and outer workings now!

    Just a question re. middleware- what do you mean 'business rules and logic'?

    The rules that a business has or operates under. For example, I think boards.ie have forums which only paid subscribers can see. This can be seen as a business rule.

    When you log-in to boards.ie, the middleware will check your profile and apply business rules, i.e. should this user be able to see forum xxx, if subscriber, yes, if not, then no.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 371 ✭✭Fussgangerzone


    When I started messing around with sites, I only knew some html and css, and began by altering templates for larger systems.

    With a bit of poking and prodding, you can start chopping and changing, for example, Wordpress themes, and learn a bit about how sites are put together.

    You can't make a brilliant site with just html and css, but you can make a site look brilliant, if you work at it.


Advertisement