<!DOCTYPE html>
<
html
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
</
head
>
<
body
>
<
div
class
=
"o-container o-container--medium"
>
<
h1
style
=
"color: green"
>GeeksforGeeks</
h1
>
<
h3
>Blaze UI Scrollable Content Modal</
h3
>
<
button
type
=
"button"
class="c-button
c-button--brand"
onClick
=
"showModal()"
>
Show Modal
</
button
>
</
div
>
<
div
role
=
"dialog"
class
=
"o-modal o-modal--visible"
id
=
"modal"
>
<
div
class
=
"c-card"
>
<
header
class
=
"c-card__header"
>
<
button
type
=
"button"
class
=
"c-button c-button--close"
onclick
=
"closeModal()"
>×
</
button
>
<
h2
class
=
"c-heading"
>GeeksforGeeks</
h2
>
</
header
>
<
div
class
=
"c-card__body o-panel"
style
=
"height:100px"
>
GeeksforGeeks is a portal for geeks.
It has a collection of articles, tutorials,
quizzes, and videos. It also has a forum for discussion.
Participants can post their queries and answers.
Find more about GeeksforGeeks below:
<
ul
class
=
"c-list"
>
<
a
href
=
"#"
>
<
li
class
=
"c-list__item"
>Tutorials</
li
>
</
a
>
<
a
href
=
"#"
>
<
li
class
=
"c-list__item"
>Articles</
li
>
</
a
>
<
a
href
=
"#"
>
<
li
class
=
"c-list__item"
>Courses></
li
>
</
a
>
<
ul
class
=
"c-list"
>
<
a
href
=
"#"
>
<
li
class
=
"c-list__item"
>Java</
li
>
</
a
>
<
a
href
=
"#"
>
<
li
class
=
"c-list__item"
>Python</
li
>
</
a
>
</
ul
>
</
ul
>
</
div
>
<
footer
class
=
"c-card__footer"
>
<
button
type
=
"button"
class
=
"c-button c-button--brand"
onclick
=
"closeModal()"
>Close
</
button
>
</
footer
>
</
div
>
</
div
>
<
script
>
function closeModal() {
document.getElementById("modal")
.classList.remove("o-modal--visible");
}
function showModal() {
document.getElementById("modal")
.classList.add("o-modal--visible");
}
</
script
>
</
body
>
</
html
>