Coder Social home page Coder Social logo

cake_project's Introduction

๐Ÿฐ ์ผ€์ดํฌ ํ”„๋กœ์ ํŠธ

  • ์‹œ์Šคํ…œ ์•„ํ‚คํ…์ฒ˜ ๊ตฌ์„ฑ์š”์†Œ
  • js,html,css
  • ๊ธฐํš ์˜๋„ โ†’ ์‡ผํ•‘๋ชฐ ์ž๋™ํ™”? ์•„๋ฌดํŠผ ์ผ€์ดํฌ์™€ ๋””์ €ํŠธ๋ฅผ ์ฃผ์ œ๋กœ ํ•„ํ„ฐ๋ฅผ ๊ฑฐ์ณ์„œ ์นดํ…Œ๊ณ ๋ฆฌ๋ณ„ ์—ฌ๊ณผ ๊ธฐ๋Šฅ๊ณผ ๊ฒ€์ƒ‰์ฐฝ์— ๋ถ€ํ•ฉํ•˜๋Š” ์ด๋ฆ„๋งŒ ๋‚˜์˜ค๊ฒŒ๋” ํ•˜๋Š” ์š”์†Œ๋ฅผ ์—ฐ์Šตํ•˜๊ณ ์ž ๋งŒ๋“ค์—ˆ์Œ

๊ฒฐ๊ณผ๋ฌผ

๊ฒฐ๊ณผ๋ฌผ ๊ธฐ๋ณธ INDEX


๊ฒฐ๊ณผ๋ฌผ2 ๋ฒ„ํŠผ ํด๋ฆญ์‹œ ์—ฌ๊ณผ๋ถ€๋ถ„


  <div class="wrap">
      <div class="inner">
        <div class="main-content">
          <h1>Cake OpenRun</h1>
          <form>
            <input class="filter" type="text" placeholder="Search" /><i
              class="fas fa-search search-icon"
            ></i>
          </form>
const cakeArr = [
  {
    name: "Strawberry cake",
    price: "5$",
    img: "์ด๋ฏธ์ง€๋งํฌ",
    category: "cakes",
    detail_img:
      "์ด๋ฏธ์ง€๋งํฌ",
    detail_name: "์ฟ ํ‚ค์•ค ํฌ๋ฆผ",
    detail_desc:
      "ํ”„๋ฆฌ๋ฏธ์—„ ๋””์ €ํŠธ ์นดํŽ˜ ํˆฌ์ธํ”Œ๋ ˆ์ด์Šค๋Š” ๊ตญ์‚ฐ ์Œ€๋กœ ๋งŒ๋“  ๊ณ ์†Œํ•œ ์šฐ๋ฆฌ ๋ฏธ(็ฑณ) ๋ฌด์Šค ๋“ฑ ์ผ€์ดํฌ 2์ข…์„ ์ƒˆ๋กญ๊ฒŒ ์ถœ์‹œํ•œ๋‹ค๊ณ  28์ผ ๋ฐํ˜”๋‹ค. ๊ตญ์‚ฐ ์Œ€๋กœ ๋งŒ๋“  ๊ณ ์†Œํ•œ ์šฐ๋ฆฌ ๋ฏธ(็ฑณ) ๋ฌด์Šค ์ผ€์ดํฌ๋Š” ์ตœ๊ทผ MZ์„ธ๋Œ€ ์‚ฌ์ด์—์„œ ๊ฐ๊ด‘๋ฐ›๊ณ  ์žˆ๋Š” ๋กœ(Low) ํ‘ธ๋“œ ํŠธ๋ Œ๋“œ๋ฅผ ์ ‘๋ชฉํ•œ ๊ธ€๋ฃจํ… ํ”„๋ฆฌ ์ œํ’ˆ์ด๋‹ค. ๊ณ ์†Œํ•˜๊ณ  ๋‹ด๋ฐฑํ•œ ์Œ€๊ณผ ์šฐ์œ  ํ”Œ๋ ˆ์ด๋ฒ„ ์กฐํ•ฉ์œผ๋กœ ์€์€ํ•œ ๋‹ฌ์ฝคํ•จ์„ ์‚ด๋ ธ๋‹ค.",
  },
  {
    name: "Strawberry Cream Cake",
    price: "10$",
    img: "์ด๋ฏธ์ง€๋งํฌ",
    category: "cakes",
    detail_img:
      "์ด๋ฏธ์ง€๋งํฌ",
    detail_name: "์ƒํฌ๋ฆผ ์šฐ์œ  ๋”ธ๊ธฐ ์ผ€์ดํฌ",
    detail_desc:
      "ํŠธ๋กœ๋ฒ ๋ฆฌ ์‹œ์ฆŒ ๋Œ€ํ‘œ ์ผ€์ดํฌ๋กœ ์„ ๋ณด์ด๋Š” ๋”ธ๊ธฐ ์šฐ์œ  ์ƒํฌ๋ฆผ(ํ™€/ํ”ผ์Šค)์€ ์ˆœ๋ฐฑ์˜ ์‹œํŠธ ์‚ฌ์ด์‚ฌ์ด ์ˆœ ์šฐ์œ , ๋”ธ๊ธฐ์šฐ์œ  ๋ฌด์Šค์™€ ์ƒํฌ๋ฆผ์„ ๊ฐ€๋“ ์ฑ„์šฐ๊ณ  ์ƒ๋”ธ๊ธฐ๋ฅผ ์˜ฌ๋ฆฐ ์ œํ’ˆ์ด๋‹ค. ์‹œํŠธ์— ๋‚œ๋ฐฑ๋ž€์„ ์‚ฌ์šฉํ•ด ๋ˆˆ์ฒ˜๋Ÿผ ์ƒˆํ•˜์–€ ๋น„์ฃผ์–ผ์ด ํŠน์ง•์ด๋‹ค. ๋”ธ๊ธฐ์™€ ๋ง› ํŽ˜์–ด๋ง์ด ๊ฐ€์žฅ ์ข‹์€ ์ˆœ ์šฐ์œ ๋ฅผ ํ™œ์šฉ, ๋”ธ๊ธฐ ์ œ์ฒ  ์‹œ๊ธฐ์— ๊ฐ€์žฅ ๋ง›์žˆ๊ฒŒ ์ผ€์ดํฌ๋ฅผ ์ฆ๊ธฐ๋Š” ๋ฐฉ๋ฒ•์œผ๋กœ ์ œ์•ˆํ•˜๋Š” ์ œํ’ˆ์ด๋‹ค.",
  },
const cakeList = document.querySelector(".cake-list");
const cakeListli = document.querySelector(".cake-list li");
const filterInput = document.querySelector(".filter");
const btnSelect = document.querySelectorAll(".btn-form button");

const detailWrap = document.querySelector(".detail-wrap");
const dim = document.querySelector(".dim");
const btnClose = document.querySelector(".btn-close");
const detailList = document.querySelector(".detail-list");

cake_project's People

Contributors

uicheol-hwang 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.