Jump to content

Sinseiki

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Sinseiki

  1. jQuery explanations in this site are so good.

    I think comparing jQuery with Vanilla JS on jQuery pages can teach Javascript more efficiently.

     

    For example, at this page,

    https://www.w3schools.com/jquery/jquery_css.asp

    Example

    $("p").css("background-color", "yellow")

    in Javascript

    document.querySelector("p").style.backgroundColor = "yellow"

    this can be added.

     

     

    The reason I want this function is that I want to learn the JS algorithm of jQuery methods like slideDown() and animate().

    How about adding description Vanilla JS on jQuery pages?

×
×
  • Create New...