GithubHelp home page GithubHelp logo

bc-assignment-5's Introduction

Homework 4 - UI for Employee List Redesign, Practice Problem, and Reading

There are 3 parts to this homework. The homework is only complete if all parts are submitted.

Homework is only incomplete if 1 or more parts are not submitted. Non-working code is not an incomplete. Please turn in any code you have.

This homework is due Tuesday September 18st at 5pm. Late submissions are not accepted.

Part 1: Redesign UI for Employee List

For the main part of this week's homework, you're going to be polishing up last week's assignment with a cleaner UI and cleaner code.

There are two parts to this week's redo. They are as follows:

Match the new design

Match the designs to look like the following images:

Home Page Desktop

General Page Desktop

You will need to use Font Awesome for the icons.

Clean up the code

  • Replace all for loops with forEach, map, filter, find, some, every, findIndex, or includes
  • Use a switch statement for the primary logic
  • All rendering takes place in a render function
  • No global variables other than functions and state (so command and employeeList should be on state).

Part 2: Make More Buttons

Using the code in practice_problem.zip do the following:

The following code should add a new button with a unique number every time the more button is clicked and render 'Make More Buttons'. This functionality works perfectly! But it also should render the number of the new buttons when one of them is clicked. This doesn't work :(. Research how to add event listeners to dynamically added buttons and fix the code.

When you have succeeded, pressing the 1 button, should render '1' to the page. Pressing the 2 button, should render '2' to the page, and so on.

Read the commented code carefully and make sure you understand the application before you begin.


Part 3: Introduction to Node.js Reading

Read the following article: What exactly is Node.js?

  • You may need to read the article several times to fully understand it.

  • You may need to Google concepts that you don't fully understand.

  • When you fully understand the article, write a synopsis as though you are explaining the concepts to a ten year old.

  • Your summary must be at least 150 words.

  • Your summary must include one analogy. Example "A conditional is like a fork in the road. You go one way if you want to go home and another if you want to go to work."

bc-assignment-5's People

Contributors

mattbyrnes avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.