CS202 Assignment Solution Spring 2022

    




CS202 AssignmentSolution Spring 2022



Question



 Solution:

CSS Code:

	
* {
  box-sizing: border-box;
}

.header {
  background-color: #1e90ff;
  color: white;
  font-size: 20px;
  font-family: Arial;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}

.footer {
  background-color: #1e90ff;
  color: white;
  font-size: 20px;
  font-family: Arial;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}


.column1 {
  float: left;
  background-color: yellow;
  width: 30%;
  padding: 10px;
  height: 350px; 
}

.column2 {
  float: left;
  border: 15px solid #00FFFF;
  background-color: red;
  width: 70%;
  padding: 10px;
  height: 330px; 
}


.row:after {
  content: "";
  display: table;
  clear: both;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  margin-top: 30px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

#nestle {background-color: red; margin-left: 30px; margin-top: 30px;} 
#unilever {background-color: red; margin-left: 30px;} 
#mobilink {background-color: red; margin-left: 30px;} 
#cocacola {background-color: red; margin-left: 30px;} 


HTML CODE:

 

 <!DOCTYPE html>

<html>

<head>

<link rel="stylesheet" href="file.css">


<meta name="viewport" content="width=device-width, initial-scale=1">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

<script>

$(document).ready(function(){

  $("#nestle").click(function(){

    $("#main").html("Nestle is a large multinational company operating on a large scale in the world. It has been operating effectively in Pakistan for the last three decades. It is active in milk, sweets, coffee, beverages, baby nutrition and drinking water. It is based in Lahore, Pakistan. The company was founded in 1988 by Nestle in a joint venture with Milkpak in 1992. One of its factories is located at Sheikhupura Jozianwala Moore, 32 km from Lahore, near Khanpur Canal and the other at Kabirwala.r Canal and the other at Kabirwala.Nestle is a large multinational company operating on a large scale in the world. It has been operating effectively in Pakistan for the last three decades. It is active in milk, sweets, coffee, beverages, baby nutrition and drinking water. It is based in Lahore, Pakistan. The company was founded in 1988 by Nestle in a joint venture with Milkpak in 1992. One of its factories is located at Sheikhupura Jozianwala Moore, 32 km from Lahore, near Khanpur Canal and the other at Kabirwala.The company allegedly repeated controversial infant formula marketing practices in Pakistan during the 1990s. This first emerged in developing countries during the 1977 Nestlé boycott. A Pakistani salesman named Syed Aamir Raza Hussain became a whistle-blower against Nestlé. In 1999, two years after he left Nestlé, Hussain released a report in association with the non-profit organisation, International Baby Food Action Network, in which he alleged that Nestlé was encouraging doctors to push its infant formula products over breastfeeding. Nestlé has denied Raza's allegations. This story inspired the 2014 acclaimed Indian film Tigers by the Oscar winning Bosnian director Danis Tanovic.");

  });

});


$(document).ready(function(){

  $("#cocacola").click(function(){

    $("#main").html("Coca-Cola, also known as Coke is a carbonated soft drink developed by the Coca-Cola Company. Originally marketed as a mood drink and developed as a patented medicine, it was invented by John Stuart Pemberton in the late 19th century. The company was formed in 1982 and began working with other countries around the world. Although it is recommended to reduce the consumption of this drink by many people, people choose it over any other beverage because of its unique taste and affordable price.The Coca-Cola Company is an American multinational beverage corporation, best known as the producer of Coca-Cola, and founded in 1892. The Coca-Cola Company also manufactures, sells, and markets other non-alcoholic beverage concentrates and syrups, and alcoholic beverages. The company's stock is listed on the NYSE and is part of the DJIA and the S&P 500 and S&P 100 indexes. The soft drink was developed in 1886 by pharmacist John Stith Pemberton. At the time it was introduced, the product contained cocaine from coca leaves and caffeine from kola nuts which together acted as a stimulant. The coca and the kola are the source of the product name, and led to Coca-Cola's promotion as a \"healthy tonic\". Pemberton had been severely wounded in the Civil War, and had become addicted to the pain medication morphine. He developed the beverage as a patent medicine in an effort to control his addiction.");

  });

});


$(document).ready(function(){

  $("#unilever").click(function(){

    $("#main").html("Unilever is one of the leading multinational companies in Pakistan. This place is quite suitable for learning. The reason for the development of skills is that Unilever’s work platform is very competitive. The company demands quality work from its employees. Founded in 1948, the company launched a worldwide diverse product line and now operates in more than 150 countries around the world. The company not only manufactures food and beverages but also skins or hair care products. It is a large multinational company with a wide range of products which shows how powerful it is in terms of market growth rate and market share. It is a real blessing to have the opportunity to work with the teams of this company because when you have an exhibition, you not only move forward but also know the best way. In 2003, Unilever announced the strategic decision to sell off the Dalda brand in both India and Pakistan.[4] In 2003, Bunge Limited acquired the Dalda brand from Hindustan Unilever Limited for reportedly under Rs 100 crore. On 30 March 2004, Unilever Pakistan accepted an offer of Rs. 1.33 billion for the sale of its Dalda brand and related business of edible oils and fats to the newly incorporated company Dalda Foods (Pvt.) Limited. Founded in 1948, the company launched a worldwide diverse product line and now operates in more than 150 countries around the world. The company not only manufactures food and beverages but also skins or hair care products. It is a large multinational company with a wide range of products which shows how powerful it is in terms of market growth rate and market share. It is a real blessing to have the opportunity to work with the teams of this company because when you have an exhibition, you not only move forward but also know the best way.");

  });

});


$(document).ready(function(){

  $("#mobilink").click(function(){

    $("#main").html("Mobilink Pakistan is known for caring for its employees. It is the largest telecom industry and ranked among the top 10 companies in Pakistan. The telecom company aims to expand its sales and employee size. Mobilink Jazz is considered the best place to work, learn and change professionally. Employees at Mobilink Pakistan enjoy many opportunities and benefits. For example, medical and luggage services, well-paid addresses, fuel allowance and mobile usage allowance. It is one of the largest telecommunications companies in 2020 and a multinational company providing its various services in the country. We can see Mobilink franchises in most parts of the city which is a great way for people to solve their problems easily and on time.Formerly known as Mobilink, the company was founded in 1994 as a joint venture between Saif Group and Motorola Inc. In February 2001, Egypt based Orascom Telecom Holding bought Motorola’s shares in Mobilink to become the majority shareholder with 69% control. Then in June 2007, Orascom further purchased the remaining shares under Saif Group’s control to become Mobilink’s 100% owner. In 2010, Russian operator VEON agreed to acquire most of the telecom assets of Orascom, including Mobilink, in a $6.5 billion deal, creating the world’s fifth-largest mobile network operator by subscriber base. In November 2015, VEON announced the 100% acquisition of Pakistan’s Warid Telecom, a subsidiary of Abu Dhabi Group. Completed in July 2016 after due approvals, the first-ever local telecom company acquisition created a combined subscriber base of 50 million. Following this merger, Mobilink was officially rebranded to Jazz in 2017. It is one of the largest telecommunications companies in 2020 and a multinational company providing its various services in the country. We can see Mobilink franchises in most parts of the city which is a great way for people to solve their problems easily and on time.");

  });

});


</script>



</head>

<body>


<section>

<div class="header">


<p> Federal Board of Revenue </p>


</div>


<div class="row">

  <div class="column1">

    <button class="button" id="nestle">Nestle</button>

    <br>

    <button class="button" id="unilever">Unilever</button>

    <br>

    <button class="button" id="mobilink">Mobilink</button>

    <br>

    <button class="button" id="cocacola">Coca-Cola</button>

  </div>

  <div class="column2" id="main">

    <p>To Display Some Text Click on Button</p>

  </div>

</div>

<div class="footer">


<p> Federal Board of Revenue </p>


</div>

</section>


</body>

</html>


DO'T COPY THE SAME


Download



Post a Comment

Previous Post Next Post