text-area dialogue box

I want to make this dialogue box which appears when i click on add description. Can someone guide me or give some dummy code to which I can refer and achieve this
No description
1 Reply
clevermissfox
clevermissfox3mo ago
You will either want to make it in your html then display: none it and add an eventlistener on the "add description" link so that when its clicked, it removes the display: none style . Or you can use javascript to create a function when the link is clicked to create and append the element on click. Do you have this in a https://codepen.io ?
CodePen
An online code editor, learning environment, and community for front-end web development using HTML, CSS and JavaScript code snippets, projects, and web applications.