Code Monkey home page Code Monkey logo

ref-lelu's Introduction

CGV 영화 화면 디자인을 카피하였음.

스파르타 코딩클럽 영화 api를 활용한 바닐라자바스크립트 웹 페이지 만들기 과제.

블로그들을 참고하여 가상돔을 부분적으로 구현해보고자 시도함.

가상돔을 세션 스토리지에 저장하여 화면 새로고침시 정보가 날아가지 않게 만들었음. 리액트에서는 고유 id를 사용하여 diff 함수를 구현했지만, 위 코드는 아직 구현하지 못함. 자식 엘리먼트들을 단순하게 배열 안에서 인덱스로 비교하여 같지 않으면 재생성하는 코드.

빠른 시일 내에 고유 아이드를 사용하여 비교하는 코드 작성을 시도해보겠습니다.

해야할 일

  • 1. 상단 sticky nav바 구현
  • 2. 검색 구현
  • 3. 데이터 불러오기
  • 4. 클릭시 이벤트 캡처링으로 영화요소 하나 선택하기
  • 5. 클릭시 데이터 불러오기
  • 6. 불러온 데이터 가상돔으로 바꿔주기

데이터 순서

데이터 패칭 데이터를 받아서 가상돔 자료 구조로 만들어준다. 가상돔을 실제 돔으로 만들어서 랜더링한다.

ref-lelu's People

Contributors

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