Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links? #1009

Open
gbb104 opened this issue Nov 13, 2023 · 0 comments
Open

Links? #1009

gbb104 opened this issue Nov 13, 2023 · 0 comments

Comments

@gbb104
Copy link

gbb104 commented Nov 13, 2023

I am creating a small project based on someone else's work and I would like to give them credit. The links won't work correctly, and this is my code so far:

const el = document.createElement('div');
  el.innerHTML = "<a href='profile'>@profile</a>";
  swal({
    title: "A Bit of info",
    content: "This code was created by " + el + ".",
    icon: "info",
  });

and this is the output:
Output
It doesn't show the link, and I don't know why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant