Project Introduction: In this project, we are going to implement a car running on a track using HTML and CSS with sound effects.
File structure:
- . index.html
- . style.css
HTML code: In the following code , first time open an index.html file then create html Structure. than Inside the body tag must take a <div></div> than take a class this class name anything select than create and save this html file .
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<!--font awesome filup-->
<link rel="stylesheet" href="css/all.css">
<title>loading animation effect </title>
<body>
<div class="loading">
</div>
</body>
</html>
style.css: The following is the code for file “style.css” which is used in the above HTML code.
0 Comments