Software Developer

Dani Bester

👋 Hi, I'm Dani. I'm a web design and developer from Cape Town, SA. Currently the developer for Self-Empowerment Projects. In my spare time I enjoy reading, cooking, gaming and building my own projects. My preferred tools are HTML, CSS, JavaScript and Python.

Latest Project

Grocery Dash

I want to create a grocery dashboard to assist with being the chef of my home!

							
// GROCERY DASHBOARD PROGRAM DEVELOPMENT	

// Collection of recipe ingredients

const groceryList = ['apple', 'banana','milk', 'coffee', 'banana', 'sugar', 'coffee', 'Banana'];

// Convert input = toLowerCase

const ingredients = groceryList.map(function(x) {return x.toLowerCase();});

// Find duplicates in the grocery list

function find_duplicate_in_array(array){
const count = {}
const result = []

array.forEach(item => {
if (count[item]) {
count[item] +=1
return
}
count[item] = 1
})

for (let prop in count){
if (count[prop] >=2){
result.push(prop)
}
}

console.log(count)
return result;

}

find_duplicate_in_array(ingredients)

console.log("You are one step closer to finding the right formular!");
							
						
Work Experience

Customer Service Specialist

I previously worked in customer service for the following companies:

Departments

Customer Service Support

I provided my expertise to the following departments: