Ai Chemist - Biofuel Alternative
About this app
Ai Chemist is a web app that allows you to create advanced chemical mixes for biofuel alternatives. Drag and drop visual elements of the periodic table, fruits, vegetables, minerals, and natural elements to discover potential combinations.
Ai Chemist - Biofuel Alternative Ai Chemist - Biofuel Alternative Periodic Table Ven Diagram Fruits and Vegetables Minerals and Natural Elements
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Ai Chemist - Biofuel Alternative</title>
<meta name="description" content="Ai Chemist is a web app that allows you to create advanced chemical mixes for biofuel alternatives. Drag and drop visual elements of the periodic table, fruits, vegetables, minerals, and natural elements to discover potential combinations.">
<meta name="keywords" content="ai chemist, biofuel alternative, chemical mixes, periodic table, drag and drop, ven diagram, chemistry">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
document.addEventListener("DOMContentLoaded", function() {
// Initialize drag and drop functionality
// Drag and drop from periodic table
$(".periodic-element").draggable({
revert: "invalid",
containment: "#main-container",
helper: "clone"
});
// Drag and drop to ven diagram
$("#ven-diagram").droppable({
accept: ".periodic-element, .fruit-vegetable, .mineral-natural-element",
drop: function(event, ui) {
// Add dropped element to the ven diagram
$(ui.draggable).clone().appendTo($(this));
}
});
// Drag and drop from fruits and vegetables
$(".fruit-vegetable").draggable({
revert: "invalid",
containment: "#main-container",
helper: "clone"
});
// Drag and drop from minerals and natural elements
$(".mineral-natural-element").draggable({
revert: "invalid",
containment: "#main-container",
helper: "clone"
});
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #f3f6f9;
font-family: 'Roboto', sans-serif;
}
#main-container {
margin-top: 50px;
text-align: center;
}
#periodic-table {
display: inline-block;
margin-right: 50px;
}
#periodic-table .periodic-element {
width: 50px;
height: 50px;
border: 1px solid #ccc;
background-color: #fff;
border-radius: 50%;
margin-bottom: 10px;
cursor: move;
}
#ven-diagram {
display: inline-block;
width: 200px;
height: 200px;
border: 2px dashed #ccc;
padding: 10px;
overflow: auto;
}
#ven-diagram .periodic-element {
margin-bottom: 10px;
}
#fruits-vegetables {
display: inline-block;
margin-right: 50px;
}
#fruits-vegetables .fruit-vegetable {
width: 50px;
height: 50px;
border: 1px solid #ccc;
background-color: #fff;
border-radius: 50%;
margin-bottom: 10px;
cursor: move;
}
#minerals-natural-elements {
display: inline-block;
}
#minerals-natural-elements .mineral-natural-element {
width: 50px;
height: 50px;
border: 1px solid #ccc;
background-color: #fff;
border-radius: 50%;
margin-bottom: 10px;
cursor: move;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Ai Chemist - Biofuel Alternative</h1>
<div id="periodic-table">
<h2>Periodic Table</h2>
<div class="periodic-element" data-element="hydrogen"><img src="hydrogen.png" alt=""></div>
<div class="periodic-element" data-element="oxygen"><img src="oxygen.png" alt=""></div>
<!-- Add more periodic elements here -->
</div>
<div id="ven-diagram">
<h2>Ven Diagram</h2>
<!-- Dropped elements will appear here -->
</div>
<div id="fruits-vegetables">
<h2>Fruits and Vegetables</h2>
<div class="fruit-vegetable" data-element="apple"><img src="apple.png" alt=""></div>
<div class="fruit-vegetable" data-element="banana"><img src="banana.png" alt=""></div>
<!-- Add more fruits and vegetables here -->
</div>
<div id="minerals-natural-elements">
<h2>Minerals and Natural Elements</h2>
<div class="mineral-natural-element" data-element="iron"><img src="iron.png" alt=""></div>
<div class="mineral-natural-element" data-element="gold"><img src="gold.png" alt=""></div>
<!-- Add more minerals and natural elements here -->
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!