Giter VIP home page Giter VIP logo

contents-tab's Introduction

탭별 콘텐츠 보여주기

준비

  1. 기본 마크업에서 시작
  2. 크롬 확장프로그램 JSON Formatter 설치

콘텐츠 데이터

데이터 JSON 설명

  • 총 20개의 콘텐츠 묶음
  {
    "id": 문서ID,
    "title": 콘텐츠 제목,
    "img": 콘텐츠 대표 이미지,
    "cp": CP,
    "url": 콘텐츠주소
  },

미션

github

코드

  1. 콘텐츠 탭 UI구현 (최근,많이본,실시간인기)
  2. 각 탭을 누를때마다 해당 JSON을 사용하여 결과 표시
  3. 각 탭이 선택되면 선택된 탭 class(active) 적용
  4. 가져온 데이터를 id=list 에 노출
  5. 로딩이미지 효과: 각 콘텐츠 노출시에 로딩이미지를 1초 노출후에 콘텐츠 노출
  6. API에서 제목, 링크, 이미지, CP 를 적절히 표시
  7. 처음 10개만 보여주고 더보기 클릭이 남은 10개 보여주기 (로딩이미지 효과도 구현)
  8. JS 에러 발생하면 안됨
  9. JS 네이티브 함수 사용, 최신 DOM 사용하여 구현
  10. ES6 사용
  11. JS 함수화

제출

과제 질문

contents-tab's People

Contributors

noion0511 avatar

Watchers

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