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 calcyyy.pdf
Binary file not shown.
23 changes: 23 additions & 0 deletions coder/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
function addTask() {
const taskInput = document.getElementById('taskInput');
const taskText = taskInput.value.trim();
if (taskText === '') {
alert('Please enter a task.');
return;
}

const taskList = document.getElementById('taskList');
const li = document.createElement('li');

li.innerHTML = `
${taskText}
<button onclick="removeTask(this)">Remove</button>
`;
taskList.appendChild(li);
taskInput.value = ''; // Clear the input field
}

function removeTask(button) {
const li = button.parentElement;
li.remove();
}
18 changes: 18 additions & 0 deletions coder/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do List App</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<h1>To-Do List</h1>
<input type="text" id="taskInput" placeholder="Add a new task..." />
<button onclick="addTask()">Add Task</button>
<ul id="taskList"></ul>
</div>
</body>
<script src="./app.js"></script>
</html>
61 changes: 61 additions & 0 deletions coder/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
body {
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #a3d4ff, #90ee90);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
background: white;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
padding: 20px;
width: 300px;
}
h1 {
text-align: center;
color: #007BFF;
}
input[type="text"] {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
border: 2px solid #007BFF;
border-radius: 5px;
}
button {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background: #007BFF;
color: white;
font-size: 16px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #0056b3;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: flex;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid #ddd;
}
li button {
background: #ff4d4d;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
li button:hover {
background: #ff1a1a;
}
Binary file added report.pdf
Binary file not shown.
Binary file added screenrec mlsa.mp4
Binary file not shown.
Binary file added todooo.pdf
Binary file not shown.
40 changes: 40 additions & 0 deletions todu/iii.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enhanced Calculator</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="calculator">
<input type="text" id="display" disabled />
<div>
<button onclick="appendToDisplay('7')">7</button>
<button onclick="appendToDisplay('8')">8</button>
<button onclick="appendToDisplay('9')">9</button>
<button onclick="appendToDisplay('+')">+</button>
</div>
<div>
<button onclick="appendToDisplay('4')">4</button>
<button onclick="appendToDisplay('5')">5</button>
<button onclick="appendToDisplay('6')">6</button>
<button onclick="calculateResult()">=</button>
</div>
<div>
<button onclick="appendToDisplay('1')">1</button>
<button onclick="appendToDisplay('2')">2</button>
<button onclick="appendToDisplay('3')">3</button>
<button onclick="appendToDisplay('0')">0</button>
</div>
<div>
<button onclick="clearDisplay()">C</button>
<button onclick="appendToDisplay('/')">/</button>
<button onclick="appendToDisplay('')"></button>
<button onclick="appendToDisplay('-')">-</button>
</div>
</div>

<script src ="script.js"></script>
</body>
</html>
19 changes: 19 additions & 0 deletions todu/ppp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
function appendToDisplay(value) {
const display = document.getElementById('display');
display.value += value;
}

function clearDisplay() {
const display = document.getElementById('display');
display.value = '';
}

function calculateResult() {
const display = document.getElementById('display');
try {
display.value = eval(display.value); // Use eval to compute the result
} catch (error) {
display.value = 'Error';
setTimeout(clearDisplay, 1500); // Clear after 1.5 seconds
}
}
52 changes: 52 additions & 0 deletions todu/sss.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
body {
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #90EE90, #a3d4ff);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.calculator {
background: #00008B;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
padding: 20px; /* Adjusted padding */
width: 100%;
max-width: 400px;
}
input[type="text"] {
width: calc(100% - 20px); /* Adjusted width to fit within padding */
padding: 15px; /* Reduced padding */
margin-bottom: 10px;
border: 2px solid #007BFF;
border-radius: 10px;
font-size: 24px;
text-align: right;
background: #f9f9f9;
}
button {
width: 22%;
padding: 15px;
margin: 2%;
border: none;
border-radius: 10px;
background: #ADD8E6;
color: black;
font-size: 18px;
cursor: pointer;
transition: background 0.3s, transform 0.2s;
}
button:hover {
background: #0056b3;
transform: scale(1.05);
}
button:active {
background: #004494;
transform: scale(0.95);
}
@media (max-width: 300px) {
button {
width: 48%;
}
}