Sorry For Inconvenience, Site is Under Maintenance. Please Goto HomePage

JQuery FP Handson Solutions

JQuery FP Handson Solutions
Notes Bureau
JQuery FP Handson Solutions

Disclaimer: The main motive to provide this solution is to help and support those who are unable to do these courses due to facing some issue and having a little bit lack of knowledge. All of the material and information contained on this website is for knowledge and education purposes only.

Try to understand these solutions and solve your Hands-On problems. (Not encourage copy and paste these solutions)

JQuery FP Handson Solutions
Course Path: Modern Web Development/JS Libraries/jQuery

1. jQuery Hands-on: Addition of two numbers
file name – index.js

function add(){
// Write logic here
var num1 = parseInt($("#num1").val());
var num2 = parseInt($("#num2").val());
$("#total").val(num1+num2);
};



2. Try it Out - DOM Manipulation
file name – index.js

function login() {
    if($("#username").val()=='admin' && $("#password").val()=='password'){
        alert("You are a valid user");
            doRedirect("home.html");
    }
    else{
        alert("You are not a valid user");
    }
 
};

function doRedirect(href) {
//notesbureau
 window.location = href;
 
};


 

3. Try it Out - Event Handling
file name – index.js

function login() {
//    Write code here
    if($("#username").val()=='admin' && $("#password").val()=='password'){
        alert("You are a valid user");
    }
    else{
        alert("You are not a valid user");
    }
};


 

4. Try it Out – Animations
file name – index.js

function hover1(){
  $("#item1-des").slideToggle();
};
function hover2(){
  $("#item1-des").slideToggle();
};
function animate_big(){
  $("#buy").animate({"width": "200px"});
//notesbureau
};
function animate_small(){
  $("#buy").animate({"width": "100px"});
};

 
5.Try it Out - AJAX calls
file name – index.js

function load_des() {
    // Write code here
    $("#item-des").load("https://jsonplaceholder.typicode.com/posts/1");
};



If you want answers to any of the fresco play courses feel free to ask in the comment section, we will surely help.

Post a Comment

Any comments and suggestion will be appreciated.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.

Join Telegram Channel

Join Notes Bureau Lets Teach and Learn

Join Telegram Channel
CLOSE ADS
CLOSE ADS