Git Product home page Git Product logo

bus-mall's Introduction

bus-mall

Bus mall lab for Code Fellows

LAB - 11 Bus Mall

Build an app to test which items customers click on the most when given a choice of three items. They can only have 25 rounds for clicking. The results must show the number of clicks per image and how times it was viewed.

Author Joshua McCluskey

Credit

Audrey Patterson's solution was used for generating three different random number demonstrated during code review.

Links and Resources

"https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap"

submission PR: "#5"

Reflections and Comments

I found this lab to be difficult in trying to figure out how to generate 3 different random numbers. I tried numerous of nested loop conditions to see if I could figure out how to get three unique number, but as soon as I change one I fall into this logical trap that I spent too much time trying to figure out. Overall, I thought this exercise took longer trying to figure out the three random number problem.

LAB - 12 Chart

Build a bar chart to display to easily display the data for clicks and views of the items. Also eliminate bias in test by not showing same images in the next step shown to the user.

Author: Joshua McCluskey

Links And Resources

"https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap"

submission PR: "#8"

Reflections and comments

Trying figure out the bias problem is leading me down logical rabbit holes trying to figure out the best order to use array methods. Overall, this problem feels very similar to yesterday's problem trying to generate three different number. I tried to use a for each loop, but I ended up emptying out my array. I definitely need to come back with a fresh view to approach the solution and figure out a better solution.

LAB - 13 Local Storage

Connect the site to local storage, and make sure the data presists through multiple rounds each time the browser resets.

Author Joshua C McCluskey

Links & Resources

"https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap"

submission PR: "#9"

Reflections and comments

At first I thought it would go a lot faster to complete, but I ran into issues. I found that if you use simple variable names there is a high possibility that there is a chance its used within a method. After spending more than an hour troubleshooting why my data didn't persist, I went and changed my variable names again to be more unique, and it worked -- a lessoned learned. Overall, it was the easiest lab we've had this week.

bus-mall's People

Contributors

joshuamccluskey avatar

Watchers

 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.