JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

HTML

<!DOCTYPE html>
<html>
<head>
<body>
<h1>sandwich maker</h1>
<canvas id = "canvas" Width = "400" height = "400"></canvas>
<script>
let canvas = canvas.getElementById("canvas");
let ctx = canvas.getContext("2d");
let ingredients = ["ham", "turkey", "cheddar cheese", "swiss cheese", "bacon", "pickles", "lettuce", "tomato sauce", "mayo", "mustard"];
let sandwich = ["bread"];
let y = 350;
for (let i = 0; i < 8; i++) {
sandwich.push();
}
sandwich.push("bread");
alert(sandwich)
</script>
</body>
</head>
</html>