커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
3번째 강의 수강중인데 박스가 뜨지 않아요
undefined주차
북마크
박*군
댓글
3
추천
0
조회수
20
조회수
20
답변 완료



3강까지 수강중인데 아래와 같이 박스가 나오지 않습니다.



스파르타 즉문즉답




작성한 코드 및 에러 메세지

오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Tip 1) <!DOCTYPE html>

<html lang="en">


<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>2023년 버킷리스트</title>

    <style>

        .title {

            color: white;

            background-color: tomato;

            font-size: 24px;

            padding: 4px 14px;

            border-radius: 8px;

        }


        .bg {

            width: 360px;

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bg-grid.png");

        }


        .msg {

            font-weight: bold;

        }


        .bucket {

            width: 160px;

            height: 160px;

        }


        .img1 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-red.png");

            background-size: cover;

            background-position: center;

        }


        .img2 {

            background-image: url("https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/bucketList/bucket-lightred.png");

            background-size: cover;

            background-position: center;

        }

    </style>

</head>


<body class="bg">

    <h1 class="title">2023 신년계획</h1>

    <p class="msg">올해는 꼭 변화하자!</p>

    <div class="row">

        <div class="bucket" img1>바디프로필 찍기</div>

        <div class="bucket" img2>바디프로필 찍기</div>

        <div class="bucket" img2>바디프로필 찍기</div>

        <div class="bucket" img1>바디프로필 찍기</div>

        <div class="bucket" img1>바디프로필 찍기</div>

        <div class="bucket" img2>바디프로필 찍기</div>

    </div>


    <head>

        <meta charset="UTF-8">

        <meta http-equiv="X-UA-Compatible" content="IE=edge">

        <meta name="viewport" content="width=, initial-scale=1.0">

        <title>Document</title>

    </head>


    <body>


    </body>


</html>

</p>

</body>


</html></> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




취소
 공유
취소
댓글 0
댓글 알림
나의얼굴