Frontenddevelopment Assignment 1683725195
Frontenddevelopment Assignment 1683725195
https://github.com/jay-amin-tops/TOPS_WD/blob/main/02CSS/TaskHeader.psd
• Multiple background one side bg-color other side contain image as bg
https://github.com/jay-amin-tops/TOPS_WD/blob/main/02CSS/Services.psd
• Create below example using css waves generator (https://getwaves.io/)
https://github.com/jay-amin-tops/TOPS_WD/blob/main/02CSS/Team.psd
• Create Layouts
• Create below example responsive media query (use given link figma file)
https://www.figma.com/file/THg3uvkrmtFxI49fZyeqki/Web_Mobile-%E2%80%94-
Template-Website-(Community)?type=design&node-
id=263%3A387&t=5kSwj12CLI7djPgw-1
Desktop -web Mobile
Module 5) HTML5
• Create result
• Create a slider using JavaScript
• What is jQuery?
• How to Apply CSS Using JQuery, How to Add Class and Remove Class in
Jquery, JQuery Animation?
• How to create slider with animation?
• Event bubbling tickling example
Module 8) Bootstrap Basic & Advanced
• What is a Button Group, and what is the class for a basic Button Group?
● Is array copied?
let fruits = ["Apples", "Pear", "Orange"]; // push a new value into the "copy" let
shoppingCart = fruits; shoppingCart.push("Banana"); // what's in fruits?
alert( fruits.length ); // ?
● Map to names
let john = { name: "John", age: 25 }; let pete = { name: "Pete", age: 30 }; let mary =
{ name: "Mary", age: 28 }; let users = [ john, pete, mary ]; let names = /* ... your
code */ alert( names ); // John, Pete, Mary
● Map to objects
let john = { name: "John", surname: "Smith", id: 1 }; let pete = { name: "Pete",
surname: "Hunt", id: 2 }; let mary = { name: "Mary", surname: "Key", id: 3 }; let
users = [ john, pete, mary ]; let usersMapped = /* ... your code ... */
/*
usersMapped = [
{ fullName: "John Smith", id: 1 },
{ fullName: "Pete Hunt", id: 2 },
{ fullName: "Mary Key", id: 3 }
]
*/ alert( usersMapped[0].id ) // 1 alert( usersMapped[0].fullName ) // John Smith
● Sum the properties There is a salaries object with arbitrary number of salaries. Write
the function sumSalaries(salaries) that returns the sum of all salaries using
Object.values and the for..of loop.If salaries is empty, then the result must be 0.
let salaries = {
"John": 100,
"Pete": 300,
"Mary": 250
};
alert( sumSalaries(salaries) ); // 650
● Destructuring assignment We have an object: Write the Destructuring assignment that
reads:
a) Name property into the variable name.
b) Year’s property into the variable age.
c) isAdmin property into the variable isAdmin (false, if no such property)
d) let user = { name: "John", years: 30};
● Turn the object into JSON and back Turn the user into JSON and then read it back
into another variable.
user = { name: "John Smith", age: 35};
Document, Event and Controls
New Request
● What is JSON
● What is promises
● Write a program of promises and handle that promises also
● Use fetch method for calling an api https://fakestoreapi.com/products
● Display all the product from the api in your HTML page
JavaScript Essentials
• What is Redux?
• What is Redux Thunk used for?
• What is Pure Component? When to use Pure Component over Component?
• What is the second argument that can optionally be passed tosetState and what is
its purpose?
• Create a Table and Search data from table using React Js?