diff --git a/TP5.html b/TP5.html
new file mode 100644
index 0000000..cb7bcaf
--- /dev/null
+++ b/TP5.html
@@ -0,0 +1,27 @@
+
+
+
Grocery list
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/js/TP5.js b/static/js/TP5.js
new file mode 100644
index 0000000..e08876e
--- /dev/null
+++ b/static/js/TP5.js
@@ -0,0 +1,83 @@
+var grocery_array = []
+
+function clear_input(){
+ document.getElementById("new_item_input").value = "";
+}
+
+function addItemToList(item){
+ grocery_array.push(item)
+ localStorage.setItem("grocery_list",JSON.stringify(grocery_array))
+
+ let item_box = document.createElement("div");
+ item_box.classList.add("grocery_item")
+
+ let item_name_container = document.createElement("span");
+ item_name_container.classList.add("grocery_item_name");
+
+ item_name_container.textContent = item;
+
+ let item_button = document.createElement("button");
+ item_button.innerHTML = "