Home > database >  What would be the easiest way to do a list of skills on a page that open in a popup?
What would be the easiest way to do a list of skills on a page that open in a popup?

Time:05-27

I'm trying to list a bunch of skills on my website and have each of them open in a pop-up on click to give a little more info. Basically, I want it to look like this, not as a button. Image for reference

I've tried some codes from the internet but they either don't work or break my Wordpress theme.

The closest I've gotten was with this piece of code:

"Example code"

CodePudding user response:

To open a link in a new tab as a popup, the easiest way is to :

<a target="_blank" href="#">Link</a>

target="_blank" is the attribute to have a link open in a new tab.

CodePudding user response:

If these articles are in an array, you can return this array and create an element from each article in it and assign a click event to this element.

  • Related