Giter VIP home page Giter VIP logo

2nd-assignment's Introduction

JS로 DOM 조작하기

  • index.js만 조작해서 다음 과제를 해보세요.
  1. 디지털 타이머

    • 맨 아래 타이머 설정하기가 있는 부분에 타이머를 조작하는 버튼을 만들어주세요.
    • 디지털 시계 부분에 브라우저를 새로고침하면 0이되는 시간초 나타내는 숫자 판을 만들어주세요.
    • 타이머 설정하기 부분에는 + 버튼과 - 버튼이 있습니다. 각 버튼을 누르면 위에서 만든 디지털 시계 부분에 1초씩 추가 / 삭제 됩니다. 다만 0초 이상이어야 하고 60초 미만이어야 합니다.
    • 시작 버튼이 있습니다. 시작을 누르면 시작 버튼과 + - 버튼은 disabled 상태가 되고, 시간초를 나타내는 부분이 1초에 1씩 감소합니다. 0이 되면 정지합니다. 정지되면 disabled가 풀립니다.
  2. 아날로그 타이머 (선택)

    • 아날로그 타이머를 만들어보세요. 틀은 동그랗고 초침만 있으면 됩니다.
  • 이번 과제는 React와 같은 컴포넌트 프론트앤드 라이브러리, 프레임워크의 가장 기본적인 아이디어라고 생각하시면 됩니다. React는 div#app만 있는 html에 컴포넌트를 JSX로 그려서 프론트를 나타냅니다. 물론 이렇게 노가다는 아니구요.

  • JS만 조작해주세요. HTML은 손 대지 말아주세요. 다만 html에 있는 보기 싫은 아날로그, 디지털, 타이머 부분의 글은 JS로 지워주세요.

기타

  • 마찬가지로 모여서 의견을 모아가며 코딩해보시고, 풀리퀘스트 해주세요. 다만 이번엔 모여서 같이 하니까 최종적으로 비슷한 결과물이 오지 않을까 싶습니다. 본인 결과물이 다른 팀원들과 비슷하다면 따로 보내지마세요! 가장 이상적인 건 금요일 토요일팀이 팀끼리 논의해보고 가장 Best case를 뽑아내서 팀당 하나 씩 오는 겁니다.

  • 난이도가 2시간 만에 하기엔 조금 어려울 수도 있습니다. 구글링도 많이 필요하고요. 미리 생각해오시는 걸 추천합니다.

2nd-assignment's People

Contributors

changhoi avatar neulhan 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.