Skip to content

Commit

Permalink
minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipul Anand committed Jun 28, 2020
1 parent 1c13ad7 commit 82aa4f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 29 deletions.
24 changes: 0 additions & 24 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,30 +127,6 @@ var clickedItem = document.getElementById("order"),
</div>` //stopped using title attribute, I don't know why?
console.log(itemsAvailable);

/* let cartItems = [
[itemsAvailable[0],dozen,"egg12",listDozen],
[itemsAvailable[1],oneTray,"oneTray",listOneTray],
[itemsAvailable[2],twoTray,"twoTray",listTwoTray],
]
*/
// function orderManager(availableItemIndex,idStore,id,listItemHTML){
// itemsAvailable[availableItemIndex].addEventListener('click', (e) => {
// e.preventDefault()
// orderCart.classList.remove('disabled')
// itemsAvailable[0].classList.toggle('added')
// idStore = document.getElementById(id)
// clickedItem.contains(idStore) ?
// clickedItem.removeChild(idStore) :
// clickedItem.insertAdjacentHTML('afterBegin', listItem)
// placeOrder()
// })
// }
// cartItems.forEach(e=>{
// orderManager.apply(null,e)
// })
//add or remove items from the order Cart,

itemsAvailable[0].addEventListener('click', (e) => {
e.preventDefault()
orderCart.classList.remove('disabled')
Expand Down
19 changes: 14 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ <h2 class="brandText">Eggs</h2>
<li>
<button class="available" value="eggs 2 Trays or more">Two Trays or more</button>
</li>
<span><a href="https://wa.me/918683000497?text=My%20%2AFeedback%20on%20Eggs%3A%2A"></a>
<button class="feedback">Feedback</button></a></span>
<span>
<a href="https://wa.me/918683000497?text=My%20%2AFeedback%20on%20Eggs%3A%2A">
<button class="feedback">Feedback</button>
</a>
</span>
</ul>
</div>

Expand Down Expand Up @@ -179,8 +182,13 @@ <h2 class="brandText">Seasonal Vegetables</h2>
<!-- <div class="offer"></div> -->
</div>
</li>
<li><a href="tel:+918683000497"><button class="callUs">or Call us</button></a></li>
<li><a href='whatsapp://send?text=https%3A%2F%2Fdownload.morkhifarms.in'>
<li>
<a href="tel:+918683000497">
<button class="callUs">or Call us</button>
</a>
</li>
<li>
<a href='whatsapp://send?text=https%3A%2F%2Fdownload.morkhifarms.in'>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="68px" height="68px" viewBox="0 0 68 68" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
Expand All @@ -195,7 +203,8 @@ <h2 class="brandText">Seasonal Vegetables</h2>
</g>
</g>
</svg>
</a></li>
</a>
</li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 82aa4f5

Please sign in to comment.