What is the easiest Javascript framework for a newbie web developer?

Put your foot in the boots of an expert developer who is new to web development. Of course, he will have to deal with JavaScript and, probably, he will encounter some difficulties in choosing the basis for his work.

For general use: which one do you offer if the first condition is simple use?

+4
source share
6 answers

I have worked with jQuery, script.aculo.us and mootools, and I would highly recommend jQuery , which seems to surpass many other structures in ease of use.

For those familiar with HTML and CSS, jQuery is great for the paradigm and makes the transition to Javascript very easy.

For example with html, for example:

<div id="content"> <h2>Heading</h2> <p class="featured">This content</p> </div> 

You may have a CSS selector that looks like this:

 #content { margin: 0 auto; width: 760px; } #content h2 { font-size: 110%; } #content p.featured { font-weight: bold; } 

In jQuery, you can control these elements using the same selectors:

 $('#content').hide(); $('#content h2').html('New Heading'); $('#content p.featured').css('border', '#cccccc 1px solid'); 

jQuery also has excellent documentation that can really help a beginner jump straight.

+9
source

I would also put a vote for jQuery. I found it easy to use, easy to learn, powerful, well-documented, feature rich, extensible and supported by a large community of plugin developers.

+4
source

See here for feature comparisons.

Over the past three years, I have used Prototype / script.aculo.us and jQuery. Of the two, I prefer jQuery.

+2
source

Typically, everyone uses jQuery these days. I love it.

You can also check out MooTools . Depending on your past experience, you may find that it is better suited to your style.

+1
source

I would personally go with jQuery too. This is what I use these days when I need it.

A lot of plugins are well documented and available.

+1
source

From a beginner: I use jQuery and it creates great results with only a little skill. The more skills you create using jQuery, the cooler and all the easier.

jQuery supports many selectors, it is easy to add / remove attributes for any HTML element, simplifies the use of ajax and json and has a large useful community.

0
source

Source: https://habr.com/ru/post/1315552/


All Articles