Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micro Verse trial #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

* {
color: blue;
text-align: center;
}

#image{
display: block;
max-width: 100%;
height:auto;
margin: auto;
}

main{
width: 600px;
margin: auto;
background-color: yellow;
}
30 changes: 20 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,30 @@
</head>

<body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>


<!--

<main id="main">
<body>
<header id="title">
<h1> Queen Elizabeth II </h1>
<h3> The longest serving mornarch of England</h3>
</header>
<div id="img-div">
<img id="image" max-width="100%" src="https://media.gettyimages.com/photos/queen-elizabeth-ii-of-england-picture-id515984032" alt= "beautiful image of the queen with a crown on her head" display="block" />
<figcaption id="img-caption"> Smiling photo of queen Elizabeth 2. </figcaption>
</div>
<section>
<p id="tribute-info"> Elizabeth II, in full Elizabeth Alexandra Mary, officially Elizabeth II, by the Grace of God, of the United Kingdom of Great Britain and Northern Ireland and of her other realms and territories Queen, Head of the Commonwealth, Defender of the Faith, (born April 21, 1926, London, England—died September 8, 2022, Balmoral Castle, Aberdeenshire, Scotland), queen of the United Kingdom of Great Britain and Northern Ireland from February 6, 1952, to September 8, 2022. In 2015 she surpassed Victoria to become the longest-reigning monarch in British history.<p>
</section>

Hello Camper!

For now, the test suite only works in Chrome!
Please read the README below in the JS Editor before beginning.
Feel free to delete this message once you have read it.
Good luck and Happy Coding!

<p> If you have time, read more <a href="https://www.britannica.com/biography/Elizabeth-II" target="_blank" id="tribute-link">about the Queen here.</a> </p>
</main>

- The freeCodeCamp Team


-->
<script src="js/index.js"></script>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
</html>