Last active
March 7, 2021 01:34
-
-
Save EcutDavid/78516ef0c3ed3896b7776bc722694e9d 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
<html lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Demo</title> | |
</head> | |
<body> | |
<script src="https://sdk.canva.com/designbutton/v2/api.js"></script> | |
<script> | |
Canva.DesignButton.initialize({ | |
// Please replace the apiKey with yours :) | |
apiKey: "18dxRFfjOIGvPQbq1TSGErFi", | |
}).then((api) => { | |
api.createDesign({ | |
design: { type: "BookCover" }, | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment