diff --git a/index.html b/index.html index 49445be..d8c205a 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,13 @@ Food Journal - + + +
@@ -32,6 +34,7 @@
+ Meal: /* TODO: change parameters */
@@ -62,6 +66,7 @@ +
Other Info: @@ -77,6 +82,7 @@ Tags: +
diff --git a/source/assets/scripts/RecipeCard.js b/source/assets/scripts/RecipeCard.js deleted file mode 100644 index a677861..0000000 --- a/source/assets/scripts/RecipeCard.js +++ /dev/null @@ -1,180 +0,0 @@ -// RecipeCard.js - -class RecipeCard extends HTMLElement { - // Called once when document.createElement('recipe-card') is called, or - // the element is written into the DOM directly as - constructor() { - super(); // Inheret everything from HTMLElement - - // EXPOSE - START (All expose numbers start with A) - // A1. TODO - Attach the shadow DOM to this Web Component (leave the mode open) - let shadowEl = this.attachShadow({mode:'open'}); - // A2. TODO - Create an
element - This will hold our markup once our data is set - let articleEl = document.createElement('article'); - // A3. TODO - Create a style element - This will hold all of the styles for the Web Component - let styleEl = document.createElement('style'); - // A4. TODO - Insert all of the styles from cardTemplate.html into the