0% found this document useful (0 votes)
37 views2 pages

Web Dev Tasks for E-Commerce

Uploaded by

Vamsi Vanama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views2 pages

Web Dev Tasks for E-Commerce

Uploaded by

Vamsi Vanama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. a) Include the Metadata element in Homepage.

html for providing description as “IEKart’s is


an online shopping website that sells goods in retail.” This company deals with various
categories like Electronics, Clothing, Accessories etc.
b) Write a JavaScript program to find the area of a circle using radius (var and let- reassign and
observe thedifference with var and let) and PI (const).

2. a) Make use of appropriate grouping elements such as list items to “About Us” page of
IEKart’s Shopping Application.
b)Write JavaScript code to book movie tickets online and calculate the total price, considering
the number of tickets and price per ticket as Rs. 150. Also, apply a festive season discount of
10% and calculate the discounted amount

3. a) Link “Login”, “SignUp” and “Track order” to “Login.html”,“SignUp.html” and


“Track.html” page respectively. Bookmark each category to its details of IEKart’s Shopping
application.
b) Write a JavaScript code to book movie tickets online and calculate the total price based on the
3 conditions:
i)If seats to be booked are not more than 2, the cost per ticket remains Rs. 150.
ii) If seats are 6 or more, booking is not allowed.
iii) If seats to be booked are more than 2 but less than 6, based on the number of seats
booked, do the following - Calculate total cost by applying discounts of 3, 5, 7, 9, 11
percent, and so on for customer 1,2,3,4 and 5. Try the code with different values for the
number of seats

4. a) Enhance the details page of IEKart’s Shopping application by adding a table element to
display the available mobile/any inventories.
b) Write a JavaScript code to book movie tickets online and calculate the total pricebased on the
3 conditions:
i) If seats to be booked are not more than 2, the cost per ticket remainsRs. 150.
ii) If seats are 6 or more, booking is not allowed.
iii)If seats to be booked are more than 2 but less than 6, based on the number of seats
booked, do the following - Calculate total cost by applying a discount of 3, 5, 7, 9, 11
percent, and so on for customers till 5respectively.

5. a) Enhance Signup page functionality of IEKart’s Shopping application by adding attributes to


input elements.
b) write a Javascript with classes,creating and inheriting classes.

6. a) Add media content in a frame using audio, video, iframe elements to the Home page of
IEKart’s Shopping application.
b) Verify how toexecute different functions successfully in the Node.js platform.
7. a) Writea program to show the workflow of restarting a Node application.
b) Write a Node.js module to show the workflow of Modularization of Node application.

8. a) Add media content in a frame using audio, video, iframe elements to the Home page of
IEKart’s Shopping application.
b) Write a program to show the workflow of restarting a Node application

9.a) File Operations Create a text file src.txt and add the following data to it. Mongo, Express,
Angular, Node.
b) Consider that developer needs to declare a function - getMobileByVendor which accepts
string as input parameter and returns the list of mobiles.

10.a) Declarea function - getMobileByManufacturer with two parameters namely manufacturer


andid, where manufacturer value should passed as Samsung and id parameter should be optional
while invoking the function, if id is passed as 101 then this function should return Moto mobile
list and if manufacturer parameter is either Samsung/Apple then this function should return
respective mobile list and similar to make Samsung as default Manufacturer. Below mentioned
code-snippet would fit into this requirement
b) Declare an interface named - Product with two properties like productId and productName
with the number and string datatype and need to implement logic to populate the Product
details.

You might also like