Skip to content

Instantly share code, notes, and snippets.

@matthieua
Created July 19, 2020 18:15
Show Gist options
  • Save matthieua/a21485012f90bdebf058325e217c2c7f to your computer and use it in GitHub Desktop.
Save matthieua/a21485012f90bdebf058325e217c2c7f to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
h1 {
text-align: center;
color: blueviolet;
}
h2 {
text-align: center;
border: 1px solid blueviolet;
padding: 15px;
border-radius: 10px;
}
img {
border-radius: 10px;
width: 100%;
}
p {
font-size: 13px;
line-height: 1.5;
}
button {
width: 100%;
padding: 15px;
font-size: 20px;
border-radius: 30px;
border: none;
box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
color: white;
margin: 30px 0;
background: blueviolet;
}
footer {
text-align: center;
font-size: 12px;
}
</style>
</head>
<body>
<h1>
🇰🇷 Seoul
</h1>
<h2>
Capital of South Korea
</h2>
<img
src="https://www.travelgay.com/wp-content/uploads/2019/11/soeul-city-guide.jpg"
alt=""
/>
<p>
Seoul, the capital of South Korea, is a huge metropolis where modern
skyscrapers, high-tech subways and pop culture meet Buddhist temples,
palaces and street markets. Notable attractions include futuristic
Dongdaemun Design Plaza, a convention hall with curving architecture and a
rooftop park; Gyeongbokgung Palace, which once had more than 7,000 rooms;
and Jogyesa Temple, site of ancient locust and pine trees.
<br />
<br />
<a href="https://en.wikipedia.org/wiki/Seoul">
Learn more on Wikipedia
</a>
</p>
<button>
Go to Seoul
</button>
<footer>
Coded by 👩‍💻
<a href="https://www.shecodes.io">
SheCodes
</a>
</footer>
<script>
function subscribe() {
let name = prompt("What is your name?");
prompt("What is your email?");
alert(
`Thanks, ${name}! We'll be in touch soon. Meanwhile, wash your keyboard`
);
}
let button = document.querySelector("button");
button.addEventListener("click", subscribe);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment