Coder Social home page Coder Social logo

react-protrips's Introduction

Image description

ProGrad Lab | REACT - PROBIBO

Learning Goals

In this exercise, the goal is to learn routing and forms in react:

  • routing,
  • forms

Getting started

  1. Fork this repo
  2. Clone this repo

Whenever you create a first significant change, you should make your first commit.

  1. Follow these guidelines to add, commit and push changes.

In the end of this document, you will find guidelines on how to submit the exercise.

Instructions

In this lab we will try to work with routing in react and also try to use basic forms. The main idea of this lab is to store down the trip details of the form and display it. We have three components

  • HomeComponent
  • AddTripComponent
  • ListComponent

Path to Components

  • / -> HomeComponent
  • /add -> AddComponent
  • /list -> ListComponent s3://facenow/l5-homecomponent.png The entire application looks like this Screenshot Screenshot Screenshot

PROGRESSION 1 | CREATE A HOME COMPONENT

Create a home component and design it as per the screenshot shown below. The home button should display the home component and and also the total trips.

Screenshot

PROGRESSION 2 | TRIP TIME

When you click the add trip button, You should display a form with with the following fields

  • date
  • place
  • type
    • trek
    • tropic
    • club

The data can be stored in an array Screenshot

PROGRESSION 3 | BUCKET LIST

Render the list of all the places with time and date

Screenshot

Bonus | TREKS TROPICS & CLUBS

Based on the selection filter out the particular type of trips. Screenshot Screenshot Screenshot

Submission

If you didn't add, commit and push the changes you made, this is the last call. ๐Ÿ˜„

please share your github links with your Mentors. Your Mentor's will check up your work and provide feedback.

Summary

If you managed to do it, good job! ๐Ÿ†

We are proud of you!

Happy Coding ProGrad โค๏ธ!

react-protrips's People

Contributors

prograd-org 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.