Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Find the precious!</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <nav>
- <ul>
- <li>FindThePrecious.com</li>
- <li>Fellows</li>
- <li>Contact us</li>
- </ul>
- </nav>
- <section>
- <div class="carousel"></div>
- </section>
- <section>
- <h2>Fellows wanted dead <strong>(or alive if you want to eat them later)</strong></h2>
- </section>
- <section>
- <article class="reward"><img src="https://via.placeholder.com/400.png?text=Reward+1000+coins+gold" alt="Image Wizard"></article>
- <article class="reward"><img src="https://via.placeholder.com/400.png?text=Reward+1000+coins+gold" alt="Image fellows"></article>
- <article class="reward"><img src="https://via.placeholder.com/400.png?text=Reward+1000+coins+gold" alt="Image yummy"></article>
- </section>
- <hr>
- <form>
- <h2>Contact us</h2>
- <div>
- <label for="email"></label><input type="email" name="user_mail" placeholder="@">
- </div>
- <div>
- <label for="adr"></label><input type="text" name="adr" placeholder="⌂">
- </div>
- <div>
- <label for="usr_slt"></label><input type="text" name="usr_slt" placeholder="I have seen one of them">
- </div>
- <div>
- <label for="msg"></label><textarea name="msg placeholder="Your message"></textarea>
- </div>
- </form>
- </body>
- </html>
- ######################################### style.css ##########################################
- nav ul{
- list-style-type: none;
- background-color: black;
- margin: 0%;
- }
- nav li{
- display: inline;
- color:white;
- text-align: center;
- }
- nav li:nth-of-type(2){
- display: inline;
- background-color:lightgrey;
- color:gray;
- }
- .carousel {
- width: 100%;
- height: 200px;
- margin: 0%;
- padding-top: 5px solid black;
- background-color:lightgrey;
- border: 1px solid lightslategray
- }
- article {
- display: inline-block;
- margin: 20px;
- }
- strong {
- font-weight: normal
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement