A Pen by Tom

Developer
Size
1,951 Kb
Views
40,480

How do I make an a pen by tom?

What is a a pen by tom? How do you make a a pen by tom? This script and codes were developed by Tom on 29 August 2022, Monday.

A Pen by Tom Previews

A Pen by Tom - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Tom</title>
</head>
<body> <p>Goals:</p>
<ul id="goals"></ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

A Pen by Tom - Script Codes JS Codes

var item = { 'name': 'MicroUSB', 'allocation': { 'rate': 'monthly', 'amount': 20, 'log': [{ 'date': '2015-May', 'amount': 12, 'location': 'DCU Savings' }, ] }, 'items': [{ 'name': 'PNY High Performance 128GB microSDXC Flash Card Model P-SDUX128U160G-GE', 'link': 'http://www.newegg.com/Product/Product.aspx?Item=N82E16820178782&cm_re=micro_sd-_-20-178-782-_-Product' }, { 'name': 'Samsung EVO 128GB microSDXC 128G micro SD SDXC UHS-I 48MB/s microSD Class 10 MB-MP128DA with Adapter with OEM Multifunction Memory Card Protective Case', 'link': 'http://www.newegg.com/Product/Product.aspx?Item=9SIA12K2B94391&cm_re=micro_sd-_-9SIA12K2B94391-_-Product' }], 'category': ['electronics'], 'goal': { 'amount': 120, },
};
function get_total_allocated(item) { var sum = 0; item.allocation.log.forEach(function(elem, index) { sum += elem.amount; }); return sum;
}
function date_to_reach_goal(item) { return ((item.goal.ammount -get_total_allocated(item)) / item.allocation.amount) * item.allocation.rate;
}
console.log(get_total_allocated(item));
console.log(date_to_reach_goal(item));
$('#goals').append('<li>' + date_to_reach_goal(item) + '</li>');
A Pen by Tom - Script Codes
A Pen by Tom - Script Codes
Home Page Home
Developer Tom
Username tomleo
Uploaded August 29, 2022
Rating 3
Size 1,951 Kb
Views 40,480
Do you need developer help for A Pen by Tom?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Tom (tomleo) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!