커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
시간, 할 일, 인사말이 왜 제대로 안 뜰까요?
undefined주차
북마크
라*벨
댓글
1
추천
0
조회수
30
조회수
30
답변 완료



제대로 작성한 것 같은데 시간은 폰트가 작게 뜨고 인사말, 할 일은 아예 뜨지도 않네요. 왜 이럴까요?

계속 수정 해봤는데 시간은 계속 폰트가 작게 나오고 인사말, 할 일은 안 뜨네요..



<!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">

    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

    <title>나만의 동기부여 홈화면 만들기</title>


    <script src="index.js"></script>

    <style>

        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');


        * {

            font-family: 'Poppins', sans-serif;

        }    

       

        body {

            background-image: url("https://news.samsungdisplay.com/wp-content/uploads/2022/05/IT_twi001t1345955-1-1024x639.jpg");

            background-position: center;

            color:chartreuse



       

        }


        .time {


            font-size: 80px;

            font-weight: bold;

        }


        .greeting {

            font-size: 50px;


        }


        .todo {


            font-size: 30px;

        }


        .author {

            font-size: 25px;

            font-style: italic;

        }


        .main {

            width: 100vw;

            height: 80vh;


            display: flex;

            flex-direction: column;

            align-items: center ;

            justify-content: center;


        }



        .quote {

            width: 100vw;

            height: 20vh;


            display: flex;

            flex-direction: column;

            align-items: center ;

            justify-content: center;

        }



    </style>


    <script>

    </script>

</head>


    <body>

        <div id="time" class="main">

            <div class="time">12:00</div>

            <div class="greeting">Hello, lazitbell!</div>

            <div class="todo">매일매일 코딩 열심히 하기</div>

        </div>

        <div class="quote">

            <div id="author" class="author">- 명언의 저자 -</div>

            <div id="content" class="content">" 명언의 내용 "</div>

        </div>

    </body>


</html>




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