---
# System prepended metadata

title: Rajnikant

---

# Rajnikant

Q1 Creata a product card using HTML/CSS

<html>
    <head>
        <title>
        </title>
        <style>
        .container {
  height: 200px;
  width: 
 display:flex;
 flex-direction:column;
 align-items: center;
 justify-content: space-between;
 padding :10%;
}
.container: hover button{
 visibility: show;
}
.row{
  height:100%;
  width:100%;
  }
  img{
    height:100%;
    width:100%;
  }
  button{
    width:100%;
    visibility:hidden;
  }
        </style>
    </head>
    <body>
        <div class="container">
  
    <div class='row'>
      <img src="https://d1311wbk6unapo.cloudfront.net/NushopCatalogue/tr:w-600,f-webp,fo-auto/Infinite%20Green%20Mango%20Plant%20%20_Hybrid_%20Pack%20of%201__2TR11NXHQ1_2022-02-27_1.jpeg" alt='image' />
    </div>
    <h2>
     Fruits 
    </h2>
    <p>
     Price
     </p>
    
    <button >
      ADD to Cart
    </button>
  
</div>
    </body>
</html>

Q2 Find second smallest element from an array
[20, 65, 12, 300, 7385, 76, 9, 876]

let arr=[20, 65, 12, 300, 7385, 76, 9, 876];

const min = Math.min(...arr);

for(let i=0; i<arr.length-1;i++){
	
}
 console.log(newArr);

Q3 Timer [Start, Stop, Pause]