引用css文件<link rel="stylesheet" href="css/login-form.css" media="screen">引用js文件<script src="jquery.min.js"></script> <script src="js/login-form.js"></script>HTML<div class="login-form"> <h1> Login Form</h1> <form action="#"> <input type="text" name="username" placeholder="username"> <input type="password" name="password" placeholder="password"> <span> <input type="checkbox" name="checkbox"> <label for="checkbox"> remember</label> </span> <input type="submit" value="log in"> </form> </div>