Last active
March 12, 2021 05:54
-
-
Save bogoreh/95cdc8f24dbb96476ea183b76293801e to your computer and use it in GitHub Desktop.
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> | |
<head> | |
<meta charset="utf-8"> | |
<title>Challenge: Daisy chain</title> | |
</head> | |
<body> | |
<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'></script> | |
<script> | |
// You can use the daisy | |
for(var i = 0; i < 6; i++) { | |
$("<img>").attr("src","https://upload.wikimedia.org/wikipedia/commons/2/29/English_Daisy_(Bellis_Perennis).jpg") | |
.attr("width", "50") | |
.attr("alt", "A white and yellow daisy on a dark green background") | |
.appendTo("body") | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment