Example 1: jquery to js converter online
//it works for small pieces of code, you still have to do most by hand. Just like you do at night
https://properprogramming.com/tools/jquery-to-javascript-converter/
Example 2: jquery to javascript converter online
There is no i guess:D
Example 3: convert jquery code to javascript online
$(document).ready(function () {
$('#menu').click(function () {
$(this).toggleClass('fa-times');
$('header').toggleClass('toggle');
});
$(window).on('scroll load', function () {
$('#menu').removeClass('fa-times');
$('header').removeClass('toggle');
if($(window).scrollTop() > 0){
$('.top').show();
}else{
$('.top').hide();
}
});
$('a[]href*="#"]').on('click',function (e) {
e.preventDefault();
$('html, body').animate({
scrolltop : $($(this).attr('href')).offset().top,
},
500,
'linear'
);
});
});
Comments
Post a Comment