커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
css부분에서 폰트컬러 미적용사유를 모르겠음
undefined주차
북마크
이*배
댓글
3
추천
1
조회수
7
조회수
7
답변 완료



css부분에서 폰트컬러 미적용사유를 모르겠음



<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <title>로그인페이지</title>

    <style>

        .mytitle{

            color: red;

            font-size: 40px

        }

        .mybtn {

            font-size: 12px

            color: white;

            background-color: green;

        }

    </style>

</head>

<body>

    <h1 class="mytitle">로그인 페이지</h1>

    <p>ID: <input type="text"/></p>

    <p>PW: <input type="text"/></p>

    <button class="mybtn">로그인하기</button>

</body>

</html>



작성한 코드 및 에러 메세지

color: white 미적용..되어서 다시 전강의 들으면서 천천히 따라해봣는데 안되서

뭐가문제인지 잘 모르겟습니다.





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