HTML, CSS, and JavaScript Resources Guide

0% found this document useful (0 votes)
211 views9 pages
This document provides resources for HTML, CSS, JavaScript, and web development including documentation, tutorials, tools, libraries, and specifications. It lists browser developer tools, on…

Uploaded by

saf
  • Developer Tools
  • Documentation and Tutorials
  • Browser Capability
  • Stats and Archives
  • Validators, Code Checkers, Tools
  • Hosting
  • Testing and Networking
  • Libraries, Package Managers, Frameworks
  • Other Stuff
  • Books

HTML, CSS and JavaScript resources

This document is available from [Link]/webdevres.

For information about Progressive Web Apps, see [Link]/pwa-resources.

Browser tools
Chrome Dev Tools
Built into Chrome. Edit HTML, CSS and JavaScript live, or run code in the console.
Firefox Developer Tools
Firefox developer tools: choose Web Developer from the Tools menu.
Microsoft Edge Developer Tools (F12) Tools
Developer tools for Internet Explorer.
Opera Dragonfly
Opera tools.

Documentation, tutorials and help


Codebar
Simple, low-bandwidth tutorials for HTML, CSS, JavaScript and other languages.
Udacity
Well designed interactive courses on many web topics, including:
• HTML + CSS Intro
• JavaScript Basics
• Intro to Progressive Web Apps
• Responsive Images
20 things I learned about the Web
Gentle introduction to web technologies – in a good-looking online ‘book’.
Khan Academy
Great place to start with computer science.
Code Academy
Simple and clearly structured interactive lessons in HTML, CSS and JavaScript.
Code Wars
Interactive learning for JavaScript and other languages.
Web Design in 4 Minutes
(Very) short introduction to techniques for getting started on the web.
JavaScript in 14 Minutes
Interactive introduction to JavaScript.
[Link]
Great place to ask (and find high quality answers to) web-related questions. If you have a
question, make sure to search first in case it’s already been asked.
[Link]
Guidance, analysis and a blog. (Supersedes Web Fundamentals.)
Web Fundamentals
Best practice for multi-device web development. (Supersedes HTML5 Rocks — and much of this
is superseded by [Link].)
[Link] and [Link]
(Deprecated and mostly ported to Web Fundamentals or [Link].) Tutorials, demos and
updates of all that is (or was) new in HTML, CSS and JavaScript.
[Link]
I like this site, but bear in mind the warnings at [Link].
MDN
Mozilla Developer Network: demos, tutorials and reference documentation localized into dozens
of languages and maintained by hundreds of volunteer contributors and Mozilla staff.
[Link]
Downloadable documentation for core web technologies.
[Link]
One-of-a-kind, well-written how-to and history for everything HTML5.
[Link]
HTML, CSS and JavaScript articles and tutorials.
Quirksmode
‘For all your browser quirks’. In depth articles on a range of topics.
Sitepoint
Reference documentation by a respected book publisher.
MSDN
HTML, CSS, JavaScript and other documentation from Microsoft.
CSS Tricks
In-depth articles about CSS.
Smashing Magazine
Multi-device web design, tools and techniques.
Chrome Developer Docs Team Learning Materials
A gold mine: links to resources, each categorised and rated.
[Link]
Site built by Googler Paul Kinlan to search reputable web documentation
[Link]
Cross-industry effort to build web documentation. No longer maintained, but still has some
useful information.
[Link]/materials
Introductory web concept workshop materials.
Front-end cheatsheets
Compilation of cheatsheets.

News and newsletters


Frontend Focus
Weekly roundup of what's new for HTML, CSS and JavaScript.
JavaScript Weekly
JavaScript news, articles and videos.

HTML
High performance HTML
HTML is the core language of the web, but often neglected. (Shameless self promotion — I
wrote this.)
HEAD: A free guide to <head> elements
Includes discussion of internationalisation and lots of links to other resources.
W3C list of elements
Comprehensive, up-to-date list of elements, attributes and events, with examples.

CSS
The 30 CSS Selectors You Must Memorize
Examples, demos and compatibility.
Default browser stylesheets
Default styles for HTML elements.

JavaScript
[Link]
JavaScript tutorial — straightforward but detailed.
Basic JavaScript
Well-written introductory article.
[Link]
Vanilla JS alternatives to jQuery and other library functions.
ES2015+ cheatsheet
Great overview of new and recent JavaScript features, most of which are well supported, and
many of which make code more expressive and understandable.

Browser capability
[Link]
Mobile and desktop browser capabilities, with links to documentation.
[Link]
Web platform feature support and examples.
blink-dev
Want to know what’s coming to Chrome? Blink is Chromium’s rendering engine.
[Link]
Internet Explorer status and roadmap.
WebKit Feature Status
What's supported by Safari and what's in development.
Kangax
ECMAScript compatibility tables.
[Link]
Stuff that your browser can do, with links to demos and information about browser support.
[Link]
Capability information for mobile browsers.
[Link]
HTML, CSS and JavaScript features: what’s in flux, what’s flakey, and what you can do about it.
[Link]
Tests your browser’s CSS3 support.
Robohornet
Benchmark your browser using real-world examples, not raw JavaScript performance.

Website performance data


HTTP Archive
'We periodically crawl the top sites on the web and record detailed information about fetched
resources, used web platform APIs and features, and execution traces of each page. We then
crunch and analyze this data to identify trends — learn more about our methodology.'
Web Almanac: library and framework usage
Annual HTTP Archive roundup — note that this is only for homepages.
Chrome User Experience Report (CrUX)
'User experience metrics for how real-world Chrome users experience popular destinations on
the web.'
Alexa Internet
The world's most popular websites, listed by country and category, based on data from a
browser toolbar/extension. Owned by Amazon, not to be confused with the Amazon Alexa
assistant AI.

Stats, archives...
Wikipedia browser usage share
Comparison of statistics from various sources.
Statcounter
Charts of browser share organised by territory, platform, browser version and other metrics.
App Annie
Analytics and stats for native apps.
Sensor Tower
App data.
Building for billions
Data and resources for emerging markets.
HTTP Archive
Trends in web technology, interesting stats, website performance.
Wayback Machine
Archive of over 400 billion web pages.

Online code editors


JS Bin
Edit HTML, CSS and JavaScript live – then save and link to your work.
jsFiddle
Online code playground for HTML, CSS and JavaScript.
CodePen
Front-end playground and showcase.
Mozilla Thimble
Edit and publish web pages online – from the creators of Firefox.
Codecademy
A good place for absolute beginners.
Google code playground
Examples of Google and JavaScript APIs.
Hosting
Creating and Hosting a Personal Site on GitHub
Introduction to Git, GitHub, GitHub Pages and Jekyll.

Validators, code checkers, tools...


W3C HTML validator
HTML validation tool.
HTMLHint
HTML analysis tool.
W3C CSS validator
CSS validation tool.
CSSLint
CSS linting, editor plugins available.
CSS Beautify
Open source tool for formatting CSS, from Sencha Labs.
ESLint
JavaScript linting utility with plugins for editors such as Sublime and build tools such as Gulp
and Grunt.
JSHint
JavaScript linting tool (much like JSLint, but more configurable, with editor and Grunt plugins
available).
JSONLint
JSON validator.
JS Beautifier
Open source tool for formatting JavaScript and HTML.

Testing
Lighthouse
Open source automated testing tool, available from the Chrome DevTools Audit panel, as a
Chrome extension, or as a command line tool.
Webpage Test
Cross browser page load testing, from servers on a variety of networks and locations globally.
Page Speed Tools
Google tool to ‘help developers optimize their web pages by applying web performance best
practices’. Now with UX and mobile testing.
[Link]
Open source, customisable site testing tool, available online or from the command line.
[Link]
Test and monitor globally on a variety of cell networks.
Charles Proxy
Web debugging proxy: can be used to adjust bandwidth and latency.
Augmented Traffic Control (ATC)
Set of open source applications maintained by Facebook that can be used to shape traffic and
emulate impaired network conditions.
jsPerf
Create, share and compare test cases.
Network Link Conditioner
Network emulation tool for OS X and iOS.
Web Developer Checklist
Checklist of requirements for high-quality web apps and sites.
Front-End-Checklist
Prioritised list of tasks and testing tools.

Libraries, package managers, frameworks…


Gulp
Front-end build tool.
Grunt
JavaScript task runner.

But be aware of Why we should stop using Grunt & Gulp.


Webpack
Module bundler.
Rollup
Module bundler.
Yeoman
‘Modern workflows for modern webapps.’
Bower
Package manager.
Modernizr
Feature detection library.
The Ultimate Guide to JavaScript Frameworks
Comprehensive list with pros and cons.
jQuery
Cross-platform JavaScript library with UI and widget plugins. But be aware of
[Link].
Closure
JavaScript optimisation, linting and more.
Sass
CSS variables, inheritance, mixins and more.
Less
Cross-browser CSS library.
[Link]
MVC framework.
HTML5 cross-browser polyfills
A catalogue of JavaScript libraries to deal with a variety of missing or non-standard functionality.
Sencha and Ext JS
Cross browser HTML5 web app frameworks.
Sproutcore
Web app framework.

Other stuff
lorempixel
Free placeholder images.

Specs and standards


W3C
HTML, CSS and all that.
WHATWG
‘The HTML Living Standard’.
ECMAScript
JavaScript is a dialect of this.

Updates from browser vendors


Chrome
● @ChromiumDev
● [Link]/web/updates
● [Link]/search/label/web
● [Link]
● [Link]
● [Link]/dev-channel
● [Link]/user/ChromeDevelopers
● [Link]/features
● [Link]/a/[Link]/forum/#!forum/blink-dev

Firefox

Safari
Opera
UC

Developer surveys
State of JS
Annual survey of developer attitudes.
State of CSS
Annual survey from the State of JS team.
Stack Overflow Developer Survey
Survey of Stack Overflow contributors.
MDN Web DNA Report
Huge annual report.

Books
JavaScript: The Definitive Guide
by David Flanagan
An actual printed book! Classic reference, highly readable.
Eloquent JavaScript
by Marijn Haverbeke (online or print)
Good introduction to programming, via JavaScript – with lots of good (editable) online
examples.
Don’t Make Me Think
by Steve Krug
Another actual book! Nearly 20 years old, but still one of the best and most readable guides to
interface design.
JavaScript: The Good Parts
by Douglas Crockford
Anything by Crockford is good – especially his video lectures on JavaScript (slides here).

Common questions

Powered by AI

Maintainable and readable code is critical in enhancing web development efficiency, as emphasized by resources like MDN and CodePen. MDN provides extensive guidelines and documentation covering syntactical clarity, commenting practices, and code modularization . CodePen, being a social development environment, encourages experimentation and sharing of code snippets that adhere to community standards, promoting best practices in coding style and structure . These practices reduce development time, simplify debugging, facilitate collaboration, and ensure the longevity and scalability of web projects, thereby allowing teams to work more effectively and innovate without being bogged down by technical debt.

Khan Academy and Codecademy provide substantial educational benefits by tailoring their content to varying skill levels and focusing on interactivity. Khan Academy employs a top-down educational approach with its guided lessons and projects that cover fundamental computer science and programming concepts essential for web development . Codecademy offers step-by-step interactive lessons in HTML, CSS, and JavaScript, enabling learners to apply what they learn immediately via coding exercises . These platforms lower the barrier to entry for learning complex web technologies, offering structured, easy-to-navigate courses that facilitate gradual knowledge accumulation and practical application, vital for building confidence and competence in web development.

JavaScript frameworks such as React and Angular play transformative roles in modern web application development by providing structured ways to build dynamic and responsive user interfaces. According to the document, these frameworks simplify the development process through reusable components, state management, and powerful toolchains . React, focusing on efficient rendering through a virtual DOM, aids in building high-performance applications . Angular, with its comprehensive architecture and tools for dependency injection and data binding, supports large-scale application development . They enhance productivity, allow for scalable architecture, and improve maintainability, making them indispensable tools in the web developer's arsenal.

Code validation and linting tools like ESLint and W3C validators are crucial for maintaining high code quality. ESLint provides JavaScript linting by analyzing code and highlighting problematic patterns or code that doesn't adhere to specified coding standards . This helps in catching errors early, enforcing consistent coding styles, and facilitating cleaner and more maintainable codebases. Similarly, the W3C HTML validator checks HTML documents for conformance to standards, ensuring accessibility and better compatibility across different browsers . These tools help enforce best practices, improve code readability, catch bugs, and enhance overall maintainability and reliability of web projects.

Developers prefer browser development tools like Chrome DevTools and Firefox Developer Tools because they allow for live editing of HTML, CSS, and JavaScript, enabling quick iteration and testing . These tools feature consoles for running commands and debugging, powerful inspectors enabling detailed analysis of the document structure, and network tools for monitoring performance and diagnosing connectivity issues. Chrome DevTools is integrated directly into the browser, facilitating ease of access, while Firefox Developer Tools are part of a suite selectable from the Tools menu, showcasing the importance of real-time diagnostics and flexibility in debugging and development workflows .

Modernizr and jQuery serve distinct purposes in web development by addressing different needs. Modernizr detects HTML and CSS features available in a user's browser, allowing developers to conditionally load polyfills or alternate stylesheets, ensuring the application degrades gracefully on older browsers . Conversely, jQuery provides a simplified API for JavaScript tasks like DOM manipulation, event handling, and AJAX, streamlining these processes across various browsers . Developers choose between them based on project requirements: if compatibility and feature detection are priority, Modernizr is employed; for DOM-related ease and cross-browser issues, jQuery might be preferred. The decision hinges on balancing the need for browser feature support with application complexity.

Prominent resources include Codebar, which offers simplified tutorials to ease beginners into HTML, CSS, and JavaScript . Udacity provides well-designed interactive courses for deeper learning in areas such as Progressive Web Apps and responsive images . MDN (Mozilla Developer Network) acts as a comprehensive reference supported by community contributions, offering detailed documentation and tutorials on web technologies . W3Schools presents basic interactive lessons, though it's advised to be cautious of its completeness and accuracy due to critiques from w3fools.com . Each resource varies in depth, coverage, and interactivity, allowing learners to choose based on their preference for guided learning (Udacity), reference material (MDN), or beginner-friendly tutorials (Codebar).

Progressive Web Apps are significant in modern web development as they blend the web's reach with native app experiences. According to the sources, resources such as Udacity's 'Intro to Progressive Web Apps' provide education on implementing PWAs which offer offline capabilities, push notifications, and enhanced performance, addressing the common limitations of traditional web applications . The emphasis on PWAs across platforms like Google and their integration in tools such as service workers and manifest files highlights their growing importance in providing user-centric, reliable, and engaging applications while maintaining the universal accessibility of websites .

Tools like Lighthouse and Webpage Test employ strategies focusing on identifying and recommending improvements for web performance. Lighthouse conducts audits covering performance, accessibility, progressive web app standards, best practices, and SEO. It provides actionable insights to enhance website efficiency and user experience . Webpage Test offers detailed performance analysis by testing page load times from multiple global locations and different browser and device configurations . These strategies are crucial for optimizing loading speeds, improving user engagement, and ensuring that applications scale well under varying network conditions and device capabilities, leading to better resource utilization and user satisfaction.

Tools like caniuse.com and chromestatus.com are vital for developing robust cross-browser applications by providing detailed information on web feature support across different browsers. Caniuse.com offers a comprehensive database indicating the availability and compatibility of HTML, CSS, and JavaScript features in various browsers, allowing developers to make informed decisions on which features to implement or consider polyfills for . Chromestatus.com provides updates on web platform feature support and development statuses in Chrome, helping developers stay informed about upcoming changes and plan accordingly . These resources help avoid compatibility issues, ensuring consistent behavior and user experience across different browser environments.

HTML, CSS and JavaScript resources
This document is available from bit.ly/webdevres (http://bit.ly/webdevres).
For informatio
JavaScript in 14 Minutes (https://jgthms.com/javascript-in-14-minutes/)
Interactive introduction to JavaScript.
stackoverflow
webplatform.org (http://webplatform.org)
Cross-industry effort to build web documentation. No longer maintained, but still ha
ES2015+ cheatsheet (https://devhints.io/es6)
Great overview of new and recent JavaScript features, most of which are well sup
'User experience metrics for how real-world Chrome users experience popular destinations on
the web.'
Alexa Internet (https:/
Hosting
Creating and Hosting a Personal Site on GitHub (http://jmcglone.com/guides/github-pages/)
Introduction to Git, GitHub
headspin.io (https://headspin.io)
Test and monitor globally on a variety of cell networks.
Charles Proxy (https://www.charles
Closure (https://developers.google.com/closure/)
JavaScript optimisation, linting and more.
Sass (http://sass-lang.com/)
CSS
●
chromestatus.com/features (https://www.chromestatus.com/features)
●
groups.google.com/a/chromium.org/forum/#!forum/blink-de

You might also like