Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dmd-3475/mocking-sponge/index.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
32 lines (32 sloc)
1.38 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
<style> | |
main{ | |
display: flex; | |
height: 100vh; | |
justify-content: center; | |
align-items: center; | |
} | |
</style> | |
<title>Mocking SpongeBob</title> | |
</head> | |
<body> | |
<main> | |
<div class="max-w-sm rounded overflow-hidden shadow-lg"> | |
<div class="px-6"> | |
<div class="font-bold text-xl mb-2" contenteditable="true">jAvAsCrIpT Is a cOnSiStEnT LaNgUaGe</div> | |
<!-- <p class="text-gray-700 text-base"> | |
The text above is <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content">editable</a> and reformats when you re-focus your cursor. Our developer messed up the code for this <a href="https://knowyourmeme.com/memes/mocking-spongebob#various-examples">SpongeBob Meme</a>. Instead of alternating caps, the title converts to uppercase. Fix this meme by editing the JavaScript function in this code. | |
</p> --> | |
</div> | |
<img class="w-full" src="img/spongebob.jpg" alt="SpongeBob"> | |
</div> | |
</main> | |
<script src="js/main.js"></script> | |
</body> | |
</html> |