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)Course Path: Modern Web Development/JS Libraries/jQuery
1. jQuery Hands-on: Addition of two numbers
file name – index.js
file name – index.js
function add(){
// Write logic here
var num1 = parseInt($("#num1").val());
var num2 = parseInt($("#num2").val());
$("#total").val(num1+num2);
};
- List of Fresco Play Courses without Hands-On | Fresco Play
- HMTL5 Semantics Elements MCQs Answers | Fresco Play
- HMTL5 Semantics Elements Hands-On Solutions | Fresco Play
- Styling with CSS3 Hands-On Solutions | Fresco Play
- Blockchain Intermedio MCQs Answers | Fresco Play
- Blockchain - Potentes Nexus MCQs Answers | Fresco Play
- Azure Essentials MCQs Answers | Fresco Play
- AWS Essentials MCQs Answers | Fresco Play
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
file name – index.js
function load_des() {
// Write code here
$("#item-des").load("https://jsonplaceholder.typicode.com/posts/1");
};
- List of Fresco Play Courses without Hands-On | Fresco Play
- HMTL5 Semantics Elements MCQs Answers | Fresco Play
- HMTL5 Semantics Elements Hands-On Solutions | Fresco Play
- Styling with CSS3 Hands-On Solutions | Fresco Play
- Blockchain Intermedio MCQs Answers | Fresco Play
- Blockchain - Potentes Nexus MCQs Answers | Fresco Play
- Azure Essentials MCQs Answers | Fresco Play
- AWS Essentials MCQs Answers | Fresco Play
If you want answers to any of the fresco play courses feel free to ask in the comment section, we will surely help.