Giter VIP home page Giter VIP logo

tkh-react-signup-login's Introduction

TKH-React-Signup-Login

React Homework Assignment for Phase 2

In this assignment you will build a simple login, signup, page layout. If the person is "logged out", then they will see the login/signup page if they are "logged in", display the test layout with some content

Requirements: create a new Vite project 3 components -navbar - 3 links -sidebar - 2 links -layout > inside layout - render something of your choice. example: youtube component, hello world, image 3 components are rendered on the page login and signup components rendered conditionally correct use of a UI framework: Chakra UI or Bootstrap use of state to manage whether the user is "logged in" Getting Started: create a new Vite project inside App.js > create functional components for navbar, sidebar and layout call navbar, sidebar and layout inside of the App function return statement inside App.js create functional components for login and signup inside of App() function create a state to determine if a user is logged in or not (boolean) if the user is logged in render the layout component, if they are not logged in render the login or signup components

edit after class 12/7: -build a button with a click event that will change showLogin to true or false -if showLogin is true then show the Login component -if showLogin is false show the signup page - (create Signup component )

tkh-react-signup-login's People

Contributors

rosannewallach 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.