Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have been a programmer for a long time now but have majorly operated in C and Fortran. I like to believe I am good at scientific/numerical computing.
Recently, I had an idea for a browser extension. I did some googling and realized that Javascript is my best option to do so. I have never in my life looked at HTML or Javascript or CSS. The Safari and Chrome websites suggest that I should learn HTML, CSS and Javascript.
My question was- how should I proceed with this goal in mind. I don't plan to make web applications anytime but want to concentrate only on browser extensions. How much of HTML and CSS do I really need to know? Will the Web Fundamentals at CodeAcademy suffice? Do I need to get that out of the way before attempting to study Javascript? How should I plan this study?
P.S. I looked at a few books on Javascript and it looks eerily close to C which is a big plus for me. Learning Javascript isn't my concern, learning HTML/CSS is.
The Code Academy Web Fundamentals link should suffice for the HTML & CSS. Don't be afraid of HTML- you're just marking up, or rather describing the presentation of, a document. With CSS, for the most part, you're just declaring styles on the document: Make this paragraph bold; Change this background to red, etc.
I am still learning JavaScript but I bet It'll be easier for you because of your background in C. The syntax should look very familiar. Perhaps one of the most obvious differences is that C needs a compiler to run whereas JavaScript just runs in your browser.
Some nice sandboxes to try out snippets of code are http://www.jsfiddle.net and http://www.jsbin.com.
http://www.codecademy.com/ is a great place to start.
If you want a nice technical guide to the DOM, JS, the server, and really the web in general, this is also a good guide
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have a question regarding the act of breaking the laws of javascript (Don't repeat code, etc) and that is, does it really matter as long as the performance and functionality isn't affected in anyway?
I have a script with 200+ line of code that looks messy after I did some work arounds, made it compatible with every browser and bugtested it a few times, and even after that it still runs pretty great even if the code isn't as organized. I haven't run into any errors with it yet and the load time is supreme. I should also note that I learned javascript a few weeks ago, so I am not perfect at it.
I do understand that if you're writing a huge applicaton it may have a noticeable impact on the performance and load time.
This has been on my mind for a few days and I just wanted to see your opinion about it, so please post a detailed opinion and maybe some tips and tricks as your answer. Thank you. :)
Yes, it matters. A lot.
You cite performance and download time as if they were the most important things.
I'd say that readable code that's easily understood by others might be more important than your measures.
Keeping code DRY, organized, neat, and readable are the signs of a professional in my view. Sloppy, copy & paste messes come from hacks.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
For example, I can use CSS to implement a navigation. And I can do that via JS too. And in many situations CSS and JS both perform well.
Which one is the good choice for web design?
A good rule of thumb is: If you can do it with CSS, go for it.
Philosophically, CSS should be focused on presentation and JavaScript should be geared more towards function.
Of course, It depends. While CSS is much easier to implement than javaScript in most cases, easier doesn't always translate to better. One good example are CSS animations vs a javaScript library like velocity.js. You have far greater control over your animations and generally better performance across all devices with frameworks like velocity or GSAP, but often it comes down to each individual project and which technology would make sense for your particular needs. Realistically, however, most projects will implement both technologies in the best cases where they fit. I hope this helps. For more info on this here's a link that does a great job explaining some of the differences when animating: https://css-tricks.com/myth-busting-css-animations-vs-javascript/ .
And here is a similar question with very good answers: Better or Worse: Styling with JavaScript vs CSS
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm looking to find some resources to help me practice my HTML and CSS coding. I'm not having much luck, so I thought I'd post. I'm looking for a website that gives a design mockup, maybe even the image files, and then work it it into functional HTML, CSS, JS and so on; something with code examples to compare with would be great.
If anybody knows of a website like this, I would love to know. thanks in advance.
You can use this three links to start
http://www.w3schools.com/ good resource for html and css
http://css-tricks.com/ realy good resource for css learning
http://reference.sitepoint.com/css
and of course youtube tutorials are my best option for beginers
https://www.youtube.com/watch?v=LqvFIuVlyP8&list=PL41lfR-6DnOruqMacTfff1zrEcqtmm7Fv
https://www.youtube.com/results?search_query=html5+css3+javascript
There are a lot of free psd templates around internet. You can slice them and make your own web site.
Also I recommend online courses like teamtreehouse.com they have online tools to validate your code after lessons. Not full website design but they are always testing your knowledge after each lesson.
Have a look at http://www.w3schools.com/
It lets you practice by entering code and seeing the results right away
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am very into creating a canvas game, but im not sure if its worth the effort, and this is why...
Flash has Adobe Flash which is an interface for creating very complex animations, games and apps.
So im sure that a program is soon to come where, making games and animation will not require anny coding skills, it will al be done via a graphical user interface, pushing buttons and such.
So i am afraid i will put all this time into something that evantually will not be even necesary to achive the same goal.
What do you people think?
Yes definitely worth learning. I don't believe any AAA games could ever be created without coding. Canvas is supported in all browsers and gives the users of your website a chance to try out something without fancy installations or crashed applications.
Canvas is also a good thing to put on your resume once you are good at it :)
Like someone else said, It's never a waste to learn something new.
Also, I think this question is more or opinion. If your trying to get a job on the server side for example: It may be more useful to learn some other server side technologies first.
I think that putting effort in learning is not useless, more if we are speaking about html5 canvas against flash whatever, because flash is dying and html5/css3/js is starting to rule in the same areas flash used to.
But more important is that you define if you want to develop a game or just make a game pointing and clicking
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I know this has been asked before but I'd like to ask it here and see what happens.
What do Google's developers use to implement their sites like http://translate.google.com/ for instance. When I look at the source of the page, I'm not immediately seeing anything GWT.
I've been working on a few GWT projects and my experiences with it have been mixed. The advantages are obvious, and I've created dynamic scheme making client-server communication even more transparent. But the downsides have been nagging PITA pretty much. Erroneous hard to find anomalies. Slow building process (I'm familiar with the optimizations and tuning to improve development cycles). Layout hell (css). Plus problems developing for mobiles. No devmode, need various tricks to let me debug and probe inner state. Problems with specific mobiles (eg. Acer A500 disappearing keyboard problem). Mobiles not scaling UI properly. The list of issues goes on and on.
I have the feeling that Google is perfectly well aware of the pitfalls of GWT and use something much better internally for their own apps. Does anyone know how they develop their sites?
The admin pages for Adwords is as far as I know done with GWT, as was wave.
For some projects they have used the Closure library
Gmail is one of these I think.