Problem Solving

[JavaScript] Requirements Q05: Rollover image

Isaac S. Lee 2023. 10. 12. 16:18

<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="cid:css-bdf5352d-8b2c-4ddd-b39c-53ebb980f5ea@mhtml.blink" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<meta name="Author" content="in">
	<meta name="Generator" content="Visual Studio Code">
	<title>JavaScript</title>
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" crossorigin="anonymous">
	<link rel="stylesheet" href="http://pinnpublic.dothome.co.kr/question/javascript/basic.css">
</head>
<body>
	<table>
		<tbody>
			<tr>
				<td>
					<a href="http://pinnpublic.dothome.co.kr/question/javascript/roll2_impl.html#" data-no="1">강아지1</a>
					<a href="http://pinnpublic.dothome.co.kr/question/javascript/roll2_impl.html#" data-no="2">강아지2</a>
					<a href="http://pinnpublic.dothome.co.kr/question/javascript/roll2_impl.html#" data-no="3">강아지3</a>
					<a href="http://pinnpublic.dothome.co.kr/question/javascript/roll2_impl.html#" data-no="4">강아지4</a>
					<a href="http://pinnpublic.dothome.co.kr/question/javascript/roll2_impl.html#" data-no="5">강아지5</a>
				</td>
				<td><img src="http://pinnpublic.dothome.co.kr/question/javascript/images/dog01.jpg" name="img"></td>
			</tr>
		</tbody>
	</table>
</body>
</html>