function updateMasses() {
const block1MassInput = parseFloat(document.getElementById("block1Mass").value);
const block2MassInput = parseFloat(document.getElementById("block2Mass").value);
if (block1MassInput > 0) block1.mass = block1MassInput;
if (block2MassInput > 0) block2.mass = block2MassInput;
collisionCount = 0; // Reset collision count on mass change
}
function resetSimulation() {
collisionCount = 0;
block1.reset();
block2.reset();
}
update();
</script>
</body>
</html>
const block1MassInput = parseFloat(document.getElementById("block1Mass").value);
const block2MassInput = parseFloat(document.getElementById("block2Mass").value);
if (block1MassInput > 0) block1.mass = block1MassInput;
if (block2MassInput > 0) block2.mass = block2MassInput;
collisionCount = 0; // Reset collision count on mass change
}
function resetSimulation() {
collisionCount = 0;
block1.reset();
block2.reset();
}
update();
</script>
</body>
</html>
`Fun APIs For Your Project(part-2)
Poems API:- https://poems.one/api/poem/#
brewerydb:- https://www.brewerydb.com/developers/docs
Fruityvice:- https://www.fruityvice.com/
Meme Generator:- https://imgflip.com/api
NASA:- https://api.nasa.gov/index.html
OpenUV:- https://www.openuv.io/
Poems API:- https://poems.one/api/poem/#
brewerydb:- https://www.brewerydb.com/developers/docs
Fruityvice:- https://www.fruityvice.com/
Meme Generator:- https://imgflip.com/api
NASA:- https://api.nasa.gov/index.html
OpenUV:- https://www.openuv.io/
Poems One
Poems API
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
<!-- Optional Bootstrap theme -->
<link rel="stylesheet" href="bootstrap/css/bootstrap-theme.css">
</head>
<body>
<img src="img/bk.jpg" class="img-rounded" alt="Rounded Image">
<img src="img/bk.jpg" class="img-circle" alt="Circular Image">
<img src="img/bk.jpg" class="img-thumbnail" alt="Thumbnail Image">
<script src="bootstrap/js/jquery.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
</body>
</html>
Professions That Will Survive the Future π
As technology advances, some careers will continue to thrive due to their unique human skills and touch. Here are professions expected to stay relevant for years to come:
1. Programmers and IT Specialists π»
Creating and advancing technology requires skilled developers who can innovate and maintain complex systems.
2. Healthcare Workers (Doctors and Nurses) π©Ί
The human touch is essential in healthcare; AI and robots canβt fully replace the compassion and intuition needed for patient care.
3. Teachers and Educators π
Teaching goes beyond knowledge transfer; it involves motivation, mentorship, and guidance.
4. Artists, Designers, and Creative Professionals π¨
Creativity and art rely on human emotions and personal expression, making these roles irreplaceable.
5. Authors and Writers βοΈ
While AI can help generate content, true storytelling and deep human insights will always require a human touch.
6. Psychologists and Therapists π§
Addressing mental health and emotional issues requires genuine human interaction and empathy.
7. Engineers and Technical Experts ποΈ
Engineering solutions and technical problem-solving require creative and hands-on thinking that AI canβt replicate entirely.
8. Social Service Workers π€
Social care and support are deeply human activities that require understanding, empathy, and human connection.
Even with the rise of new technologies, these professions are expected to remain valuable and in demand. πβ¨
Follow for more insights on the future of work and tech updates: @Html_codee
As technology advances, some careers will continue to thrive due to their unique human skills and touch. Here are professions expected to stay relevant for years to come:
1. Programmers and IT Specialists π»
Creating and advancing technology requires skilled developers who can innovate and maintain complex systems.
2. Healthcare Workers (Doctors and Nurses) π©Ί
The human touch is essential in healthcare; AI and robots canβt fully replace the compassion and intuition needed for patient care.
3. Teachers and Educators π
Teaching goes beyond knowledge transfer; it involves motivation, mentorship, and guidance.
4. Artists, Designers, and Creative Professionals π¨
Creativity and art rely on human emotions and personal expression, making these roles irreplaceable.
5. Authors and Writers βοΈ
While AI can help generate content, true storytelling and deep human insights will always require a human touch.
6. Psychologists and Therapists π§
Addressing mental health and emotional issues requires genuine human interaction and empathy.
7. Engineers and Technical Experts ποΈ
Engineering solutions and technical problem-solving require creative and hands-on thinking that AI canβt replicate entirely.
8. Social Service Workers π€
Social care and support are deeply human activities that require understanding, empathy, and human connection.
Even with the rise of new technologies, these professions are expected to remain valuable and in demand. πβ¨
Follow for more insights on the future of work and tech updates: @Html_codee
Telegram
Html code & programming
Support e-mail: support@bestpage.x10.mx
"If you don't walk today, run tomorrow"
"Step into Tomorrow, Ignite Your Potential - Move Forward with Confidence!"
"If you don't walk today, run tomorrow"
"Step into Tomorrow, Ignite Your Potential - Move Forward with Confidence!"
This media is not supported in your browser
VIEW IN TELEGRAM
πΊπΈ US Secret Service deploys Robotic dogs at President-elect Donald Trump's property as security measures increase following his election victory.
Source | Artificial Intelligence π€
Source | Artificial Intelligence π€
/* From Uiverse.io by Shaidend */
<div class="InputContainer">
<input
placeholder="Search"
id="input"
class="input"
name="text"
type="text"
/>
<label class="labelforsearch" for="input">
<svg class="searchIcon" viewBox="0 0 512 512">
<path
d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"
></path>
</svg>
</label>
</div>
π1
/* From Uiverse.io by Shaidend */
.InputContainer {
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgb(255, 255, 255);
border-radius: 10px;
overflow: hidden;
cursor: pointer;
padding-left: 15px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.075);
}
.input {
width: 170px;
height: 100%;
border: none;
outline: none;
font-size: 0.9em;
caret-color: rgb(255, 81, 0);
}
.labelforsearch {
cursor: text;
padding: 0px 12px;
}
.searchIcon {
width: 13px;
}
.border {
height: 40%;
width: 1.3px;
background-color: rgb(223, 223, 223);
}
.micIcon {
width: 12px;
}
.micButton {
padding: 0px 15px 0px 12px;
border: none;
background-color: transparent;
height: 40px;
cursor: pointer;
transition-duration: 0.3s;
}
.searchIcon path {
fill: rgb(114, 114, 114);
}
.micIcon path {
fill: rgb(255, 81, 0);
}
.micButton:hover {
background-color: rgb(255, 230, 230);
transition-duration: 0.3s;
}