코딩 html 좀 도와주세요 ㅠㅠ

코딩 html 좀 도와주세요 ㅠㅠ

작성일 2020.09.09댓글 1건
    게시물 수정 , 삭제는 로그인 필요

학교 과제로 코딩을 진행해야 하는데요. 아래 주어진 도미노 코딩(?) 소스에서 내용만 조금 바꿔서 완성하면 되거든요. 바로 이 링크를 타고 들어가면 있는 ( http://www.gianlucamonaco.com/e/domino/) 거예요! 여기 들어가서 페이지 소스 보기 통해서 코딩된 거 복사해다가 코딩 프로그램에 일단 아무것도 안 바꾸고 저장만 한 다음에 다시 저장한 거 크롬으로 열어봤거든요. ㅠㅠ 근데 저 링크 들어가면 나오는 것처럼 안 되고 그냥 글자들이 아무 효과, 색깔도 없이 나오기만 해서 당황스러워요. 저 아무것도 안 건드렸거든요... 문제가 뭘까요?


또 이 코딩에서 도미노로 넘어지는 단어들 바꾸는 법, 색상 바꾸는 법까지 알려 주시면 감사하겠습니다! 내공 걸고 꼭 채택할게요! 혹시 몰라 아래에 저 링크 들어가서 페이지 소스 보기 하면 나오는 코딩 긁어서 둘게요.


<html>
<head>
<meta charset="utf-8">
<title>Effetto domino</title>

<!-- FAVICON -->
<link rel="shortcut icon" type="image/png" href="img/favicon.png"/>

<!-- CSS -->
<link rel="stylesheet" type="text/css" href="style.css">

<!-- META FOR SHARING -->
<meta property="og:url" content="http://www.gianlucamonaco.com/browser-poetry/effetto-domino" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Effetto domino" />
<meta property="og:description" content="Browser poetry." />
<meta property="og:image" content="http://www.gianlucamonaco.com/browser-poetry/effetto-domino/preview.png" />

<link href="https://fonts.googleapis.com/css?family=Oswald:700" rel="stylesheet">

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

</head>
<body>

<div class="container">
<h1 class="effetto t-0">L'effetto</h1>
<h1 class="domino t-1">Domino</h1>
<h1 class="effetto t-2">L'effetto</h1>
<h1 class="domino t-3">Domino</h1>
<h1 class="effetto t-4">L'effetto</h1>
<h1 class="domino t-5">Domino</h1>
<h1 class="effetto t-6">L'effetto</h1>
<h1 class="domino t-7">Domino</h1>
<h1 class="effetto t-8">L'effetto</h1>
<h1 class="domino t-9">Domino</h1>
<h1 class="effetto t-10">L'effetto</h1>
<h1 class="domino t-11">Domino</h1>
<h1 class="effetto t-12">L'effetto</h1>
<h1 class="domino t-13">Domino</h1>
<h1 class="effetto t-14">L'effetto</h1>
<h1 class="domino t-15">Domino</h1>
<h1 class="effetto t-16">L'effetto</h1>
<h1 class="domino t-17">Domino</h1>
<h1 class="effetto t-18">L'effetto</h1>
<h1 class="domino t-19">Domino</h1>
<h1 class="effetto t-20">L'effetto</h1>
<h1 class="domino t-21">Domino</h1>
<h1 class="effetto t-22">L'effetto</h1>
<h1 class="domino t-23">Domino</h1>

<script>
$(document).ready(function() {
$("h1").each(function() {
var thisClass = $(this).attr("class");
if ( $(this).hasClass("domino") ) {
var thisPosition = thisClass.replace('domino t-', '');
} else if ( $(this).hasClass("effetto") ) {
var thisPosition = thisClass.replace('effetto t-', '');
}
$(this).css({
left: (thisPosition * 70) - 40 + "vh",
});

if (thisPosition == 0) {
$(this).css({
animationDelay: "22s"
});
} else if (thisPosition > 15) {
$(this).css({
animation: "none"
});
} else {
$(this).css({
animationDelay: (thisPosition * 2 - 2) + "s"
});
}
});
});
</script>

</body>
</html>


#코딩 html #코딩 자율학습 html + css + 자바스크립트 #생활 코딩 html #이메일 html 코딩 #html 코딩 사이트 #html 코딩 프로그램 #html 코딩 밈 #아이패드 html 코딩 #메모장 html 코딩 #ai html 코딩

profile_image 익명 작성일 -

그 이유는 head태그안의 link태그에 css파일이 링크되어 있는데 그파일은 질문자님께서 긁어오지 않아서 인듯 합니다.

10번째 줄의

<!-- CSS --> <link rel="stylesheet" type="text/css" href="style.css">

이 부분의 style.css 파일을 클릭한 후 안의 내용을 복사하여 style.css라는 파일을 만들어 그안에 붙여넣고 먼저 만들었던 html파일과 같은 위치에 넣어주시면 될 것 같습니다.

더 궁금한 점이 있으시다면 댓글 남겨주세요:)

답변확정부탁드립니다~~

html 코딩 좀 도와주세요 ㅠㅠ

... 둘 다 속도 조절도 가능해야 하구요 ㅠㅠ 오른쪽에서 왼쪽으로 텍스트가 이동하는 코딩은 한강 이걸로 다 만들었는데 위에서 아래로 떨어지는코딩을 어떻게 해야 할지...

코딩 html 좀 도와주세요 ㅠ~ㅠ

... 모르겠어요 ㅠㅠ 제가 열 개의 각 다른... 도움 주세요 내공 걸겠습니다! 제가 수정해서 사용해야 하는 코딩 소스는 아래에...

HTML코딩의 신님 제발 도와주세요ㅠㅠ

... 이 코딩본이 보이기 위해서는 인터넷 설정이라던가 컴퓨터 설정이 뭔가 바쳐줘야 한다고 생각하는뎅 ㅠㅠㅠ 그걸 모르겠다는거죠 제발 도와주세요 엉엉 ㅠㅠ...

HTML 코딩 좀 도와주세요.

간단하게 갤러리를 만들어보고 있는데 생각처럼 잘 되지가 않고 어디를 어떻게 고쳐야 할 지 모르겠습니다. 첫 대문 이미지나...

파이썬 코딩 좀 도와주세요ㅠㅠ

... 코딩 잘 아시는 분들 도와주세요ㅠㅠ 여러 방법이 있을거같은데, 각 루프에서 더한 값들을 리스트로 저장해주고 해당 리스트를 프린트할 수 있도록 스트링으로 변환하여...

html div 코딩 급합니다 ㅠㅠ...

admin단 코딩할려고 하는대요 악 - div 처음이라 자꾸 틀어지고... 제발제발 도와주세요 ㅠㅠㅠㅠ 질문 1.그림처럼 보시면 틀어졌어요 ㅠ...