Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MLSAKIET_FWdevops_INTERNSHIP
Submodule MLSAKIET_FWdevops_INTERNSHIP added at cd858e
Binary file added Project Report on MLSA Internship.pdf
Binary file not shown.
Binary file added Recording 2024-10-29 222457.mp4
Binary file not shown.
27 changes: 27 additions & 0 deletions easy_webpage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
body {
font-family: Arial, sans-serif;

background-color: #ebe6a7;
}
header {
text-align: center;
margin-bottom: 20px;
border: 1cm;
border-color: aliceblue;
}
.Profile {
display : flex;
margin-left: 10px;
height: 100px;
width : 100px;
}
.Bio{
margin-bottom: 50px;
}
.contact, .links{
margin-left: 500px;
margin-bottom: 30px;
}
a:hover {
text-decoration: underline;
}
32 changes: 32 additions & 0 deletions easy_webpage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Profile</title>
<link rel="stylesheet" href="easy_webpage.css">
</head>
<body>
<header>
<h1> My Profile </h1>
</header>
<div class="Profile">
<img src="profilepic.jpg" alt="Profile picture" class="Pic">
</div>
<div class="Bio">
<h2> Bio </h2>
<p> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quae maiores voluptate deserunt deleniti quam, perspiciatis, ipsa mollitia similique vitae nihil sint ab. Alias recusandae dolorum eligendi iure pariatur eos quas?</p>
</div>
<div class="contact">
<p>Email :- <a href="mehulnirwal7417@gmail.com"> mehulnirwal7417@gmail.com</a></p>
</div>
<div class="links">
<h3> Social Media Links </h3>
<ul>
<li> <a href="https://twitter.com" target="_blank"> Twitter</a></li>
<li> <a href="https://www.linkedin.com/in/mehul-nirwal-a65b72263/" target="_blank"> LinkedIn</a></li>
<li> <a href="https://github.com/MehulNirwal" target="_blank"> GitHub</a></li>
</ul>
</div>
</body>
</html>
50 changes: 50 additions & 0 deletions intermediate_calci.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.calci {
background-color: white;
margin: 10px;
padding: 50px;
border-radius: 15px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#res {
width: 100%;
height: 100px;
font-size: 24px;

text-align: right;
margin-bottom: 20px;
padding: 5px;
border: 1px solid black;


}
body {
font-family: serif, Arial, Helvetica, sans-serif;
justify-content: center;
align-items: center;
height: 120vh;
background-color: rgb(243, 215, 164);
display: flex;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.head{
text-align: center;
margin-right: 250px;
}
button {
padding: 15px;
font-size: 18px;
border: 10px solid;
border-radius: 4px;
cursor: pointer;
background-color: green;
color: white;
transition: background-color 0.3s;
}

button:hover {
background-color: red;
}
42 changes: 42 additions & 0 deletions intermediate_calci.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculator</title>
<link rel="stylesheet" href="intermediate_calci.css">
</head>
<body>
<script src="intermediate_calci.js"></script>

<div class="head">
<h1> Calculator</h1>
</div>


<div class="calci">

<input type="text" id="res" enabled>
<div class="buttons">
<button onclick="addToResult('1')">1</button>
<button onclick="addToResult('2')">2</button>
<button onclick="addToResult('3')">3</button>
<button onclick="addToResult('4')">4</button>
<button onclick="addToResult('5')">5</button>
<button onclick="addToResult('6')">6</button>
<button onclick="addToResult('7')">7</button>
<button onclick="addToResult('8')">8</button>
<button onclick="addToResult('9')">9</button>
<button onclick="addToResult('0')">0</button>
<button onclick="addToResult('-')">-</button>
<button onclick="addToResult('*')">*</button>
<button onclick="addToResult('/')">/</button>
<button onclick="addToResult('+')">+</button>
<button onclick="addToResult('%')">%</button>
<button onclick="addToResult('^')">^</button>
<button onclick="calculateResult()">=</button>
<button onclick="clearPanel()">C</button>
</div>
</div>
</body>
</html>
16 changes: 16 additions & 0 deletions intermediate_calci.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function addToResult(value) {
document.getElementById('res').value += value;
}

function clearPanel() {
document.getElementById('res').value = '';
}

function calculateResult() {
const resultField = document.getElementById('res');
try {
resultField.value = eval(resultField.value);
} catch (error) {
resultField.value = 'Error';
}
}
Binary file added profilepic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.