-
-
Save azs06/321fd031b5ff9318ae99 to your computer and use it in GitHub Desktop.
Changing Keywords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="charset" value="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=0.5, minimal-ui"> | |
<title>Car Sounds</title> | |
<!--Style Sheet link--> | |
<link rel="stylesheet" type="text/css" href="css/style.css"> | |
</head> | |
<body> | |
<!--Car image --> | |
<img src="images/bike.png" class="car" alt="car"> | |
<!--Button--> | |
<a href="javascript:bikeBell();"><img src="images/bikeLock.png" alt="key"></a> | |
<!--Audio Files--> | |
<audio id="startCar" src="sounds/startCarA.mp3" preload="auto"></audio> | |
<!--Javascript--> | |
<script type="text/javascript"> | |
function bikeBell() { | |
document.getElementById('startCar').play(); | |
} | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="charset" value="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=0.5, minimal-ui"> | |
<title>Car Sounds</title> | |
<!--Style Sheet link--> | |
<link rel="stylesheet" type="text/css" href="css/style.css"> | |
</head> | |
<body> | |
<!--Car image --> | |
<img src="images/bike.png" class="car" alt="car"> | |
<!--Button--> | |
<a href="javascript:bikeBell();"><img src="images/bikeLock.png" alt="key"></a> | |
<!--Audio Files--> | |
<audio id="bikeBell" src="sounds/bikeBell.mp3" preload="auto"></audio> | |
<!--Javascript--> | |
<script type="text/javascript"> | |
function bikeBell() { | |
document.getElementById('startCar').play(); | |
} | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="charset" value="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=0.5, minimal-ui"> | |
<title>Car Sounds</title> | |
<!--Style Sheet link--> | |
<link rel="stylesheet" type="text/css" href="css/style.css"> | |
</head> | |
<body> | |
<!--Car image --> | |
<img src="images/bike.png" class="car" alt="car"> | |
<!--Button--> | |
<a href="javascript:bikeBell();"><img src="images/bikeLock.png" alt="key"></a> | |
<!--Audio Files--> | |
<audio id="bikeBell" src="sounds/bikeBell.mp3" preload="auto"></audio> | |
<!--Javascript--> | |
<script type="text/javascript"> | |
function bikeBell() { | |
document.getElementById('bikeBell').play(); | |
} | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="charset" value="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=0.5, minimal-ui"> | |
<title>Car Sounds</title> | |
<!--Style Sheet link--> | |
<link rel="stylesheet" type="text/css" href="css/style.css"> | |
</head> | |
<body> | |
<!--Car image --> | |
<img src="images/bike.png" class="car" alt="car"> | |
<!--Button--> | |
<a href="javascript:bikeBell();"><img src="images/bikeLock.png" alt="key"></a> | |
<!--Audio Files--> | |
<audio id="bikeBell" src="sounds/bikeBell.mp3" preload="auto"></audio> | |
<!--Javascript--> | |
<script type="text/javascript"> | |
function bikeBell() { | |
document.getElementById('bikeBell').play(); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment