Giter Club home page Giter Club logo

fe-react-hooks-first's Introduction

[FE] React Hooks

이번 세션에서는 자바스크립트 이벤트 핸들러와 React Hooks 중 useState에 대해 다루었습니다.

따라서 이번 실습과 과제는 이를 활용해보는 문제들로, 실습 2문제와 과제 1문제로 이루어져 있습니다!


[실습 1번]

+1 버튼을 클릭하면 숫자가 1 증가하고, -1 버튼을 클릭하면 숫자가 1 감소하는 Counter를 만들어주세요!

src/components/Counter.jsx 에서 진행해주시면 됩니다!

01.mp4

[실습 2번]

이름과 닉네임을 입력할 수 있는 입력창이 있습니다.
각 값을 입력했을 때 다음 영상과 같이 아래에 입력한 이름과 닉네임이 표시되도록 코드를 작성해주세요!

src/components/Name.jsx 에서 진행해주시면 됩니다!

02.mp4

[과제: 나만의 일기장 만들기 📝]

제목과 일기 내용을 입력할 수 있는 일기장이 있습니다.

  1. 일기를 입력하고 작성 완료 버튼을 눌렀을 때, 입력한 내용이 알림창에 표시되도록 해주세요!
  2. 초기화 버튼을 눌렀을 때는 입력한 값들이 초기화 되도록 해주세요!

src/components/Diary.jsx 에서 진행해주시면 됩니다!

01.mp4

[어른 사자의 길]

나만의 일기장 만들기 과제를 useState 문을 단 한 번만 사용하여 똑같이 작동 하도록 완성시켜 보세요!
가장 먼저 성공해서 lionz에 제출해주신 한 분께 커피를 사드리겠습니다😁


과제 제출 : 과제는 4월 28일 금요일 오전 11시 59분 전까지, 본인 repository에 push 해주신 뒤, repository url을 lionz 에 생성되어 있는 과제 제출란에 제출해주시면 됩니다.


fe-react-hooks-first's People

Contributors

eundeok9 avatar nahyeonnnn 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.