Skip to content

Instantly share code, notes, and snippets.

@bogoreh
Last active March 12, 2021 05:54
Show Gist options
  • Save bogoreh/95cdc8f24dbb96476ea183b76293801e to your computer and use it in GitHub Desktop.
Save bogoreh/95cdc8f24dbb96476ea183b76293801e to your computer and use it in GitHub Desktop.
<!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