This project included some count e functionality. The count e's did not take very long. I'd like to include other stats as well as sort of a fun thing to do. In total this took about 45 minutes. I did spend about two trying to get my article width columns to maintain the same height and gain a width of 100%. I was trying to make it very sequential and attempted to use setTimeout, but was not very successful.
The eCount function was generated on each individual article and all articles as a whole. For each individual article, eCount was generated and added as a property. For the articles as a whole, the array of articles was mapped to a match function counting the number of e's. The array result from that map was counted and all the articles were reduced to a single number.
I also wrapped my articleView and article js files into an IIFE.
This project included some count e functionality. The count e's did not take very long. I'd like to include other stats as well as sort of a fun thing to do. In total this took about 45 minutes. I did spend about two trying to get my article width columns to maintain the same height and gain a width of 100%. I was trying to make it very sequential and attempted to use setTimeout, but was not very successful.
The eCount function was generated on each individual article and all articles as a whole. For each individual article, eCount was generated and added as a property. For the articles as a whole, the array of articles was mapped to a match function counting the number of e's. The array result from that map was counted and all the articles were reduced to a single number.
I also wrapped my articleView and article js files into an IIFE.