GithubHelp home page GithubHelp logo

lastnamearya / javascript-grocery-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 27 KB

Developed this App in order to learn DOM Manipulation Techniques

Home Page: https://lastnamearya.github.io/Grocery-App-JavaScript-DOM/

HTML 17.71% CSS 55.34% JavaScript 26.95%
javascript dom

javascript-grocery-app's Introduction

I made this app in order to learn DOM Manipulation in plain vanilla.js. I made this app from scratch to strengthen my DOM Manipulation Skills. This App brings together a selection of the DOM techniques to update the contents of the List. It has three main aims:

1. Add a New Item to the Start and End of the List

Adding an item to the start of the list requires the use of a different method than adding an element to the end of list.

2. Set a Class Attribute on all Items

This involves looping through each of the elements i.e my Shopping List Items and updating the value of the class attribute to 'cool'.

3. Add the number of list items to the heading

This involves four Steps

  1. Reading the content of the heading.
  2. Counting the number of elements in the page.
  3. Adding the number of items to the content of the heading.
  4. Updating the heading with this new Content.

Screen_Shot_2018-02-22_at_8.01.04_PM.png

Jigyasu Arya ~ lastnamearya

javascript-grocery-app's People

Contributors

lastnamearya avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.