Help Me ! Soft Rejected :(

please help me. I sent the letters I sent. Came back again. what should I do. Site address http://cpbootstrap.com/codex

  1. REDUNDANT JAVASCRIPT EVENTS: There are currently redundant events in your JavaScript. For example, you have multiple $(document).ready() events or multiple $(window).load() events. Please consolidate all code that should occur within a single event.

  2. PROPER EVENT BINDING: Consider using the preferred .on() method rather than .click(), .bind(), .hover(), etc. For best performance and concise code use event delegation whenever possible: http://code.tutsplus.com/tutorials/quick-tip-javascript-event-delegation-in-4-minutes--net-8961

  3. STRICT MODE REQUIRED: All JavaScript should be written with “use strict” mode on. Please note that strict mode is scoped. For concise code it is recommened to placed

  4. JQUERY PERFORMANCE NEEDS IMPROVEMENT: Your jQuery code can benefit from some performance tweaks. Please make sure that your jQuery is properly formatted, commented and that you are caching and chaining whenever possible. For more information please read: http://code.tutsplus.com/tutorials/10-ways-to-instantly-increase-your-jquery-performance--net-5551

  5. CSS TABLE OF CONTENTS: Make sure the CSS file is well documented with proper table of contents. For more information, see: http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/

What is this ?

1 - When the document is ready, it means that other functions will be ready to

//Document Ready 
$(document).ready(function () {
    'use strict';
     // Other Stuff
});
//End 

2 Example

('.button').on('click', (function () {
 // Other Stuff
});

3 Comment your code, this will help your customers navigate in code.

// Comment
/*
* Comment
*/

4 Table of contents…

    /*------------------------------
    TABLE OF CONTENTS
    ------------------------------*/

    1 - Body
    2 - Header
    3 - Navbar 
    4 - Wrapper
    5 - Footer 
    etc...

:+1:

1 Like

thank you. I will apply them carefully.

  1. PARSEINT REQUIRES A RADIX: Please make sure you are supplying a radix for all parseInt().

They made a comeback. What should I do. @BRAVEART3D