Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>FCC: Tribute Page</title>

    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="main">
        <!-- <<<<<<< Test Suite Requirements >>>>>>>
    #Technology Stack
    1. You can use HTML, JavaScript, and CSS to complete this project. Plain CSS is recommended because that is what the lessons have covered so far and you should get some practice with plain CSS. You can use Bootstrap or SASS if you choose. Additional technologies (just for example jQuery, React, Angular, or Vue) are not recommended for this project, and using them is at your own risk. Other projects will give you a chance to work with different technology stacks like React. We will accept and try to fix all issue reports that use the suggested technology stack for this project. Happy coding!

    #Content
    1. My tribute page should have an element with corresponding id="main", which contains all other elements.
    2. I should see an element with corresponding id="title", which contains a string (i.e. text) that describes the subject of the tribute page (e.g. "Dr. Norman Borlaug").
    3. I should see a <div> element with corresponding id="img-div".
    4. Within the "img-div" element, I should see an <img> element with a corresponding id="image"
    5. Within the "img-div" element, I should see an element with a corresponding id="img-caption" that contains textual content describing the image shown in "img-div".
    6. I should see an element with a corresponding id="tribute-info", which contains textual content describing the subject of the tribute page.
    7. I should see an <a> element with a corresponding id="tribute-link", which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of target and set it to "_blank" in order for your link to open in a new tab (i.e. target="_blank").

    #Layout
    1. The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
    2. The <img> element should be centered within its parent element. -->

        <header>
            <h1 id="title">JESUS CHRIST</h1>
            <p>The Atoning Sacrifice For The Sins Of The Whole World</p>

            <div class="made-by">
                <p>Coded by <a href="https://www.freecodecamp.org/christcentereddev" target="_blank"><strong>ChristCenteredDev</strong></a></p>
                <!-- Add Font Awesome for GitHub font

                <a href="" target="_blank"><span class="fa fa-github"></span>GitHub</a>

                -->
            </div>
        </header>

        <div id="img-div">
            <img id="image" src="https://preview.ibb.co/m9BzGw/Risen.jpg" alt="The Lord Jesus Christ" />

            <!-- https://s13.postimg.org/wh97t96uv/lion-judah.jpg -->

            <div id="img-caption">
                <p>
                    <div class="border-imprv">
                    <em>Jesus said "<strong>I died, but see, I am alive forevermore, and I have the keys of death and of Hell."</strong></em>
                    <br />
                    <em>--Revelation 1:18</em>
                    </div>
                </p>

            </div>
        </div>

        <div class="video-container">
            <iframe src="https://www.youtube.com/embed/7_CGP-12AE0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
        </div>

        <div id="tribute-info">
            <h3><span class="border-imprv">Here's the time line of Jesus Christ</span></h3>

            <ul>
                <li><span>In the Beginning - </span>In the beginning was the Word (Jesus Christ), and the Word was with God, and the Word was God.  The same was in the beginning with God.  All things were made by him; and without him was not any thing made that was made.  In him was life; and the life was the light of men.</li>
                <li><span>From Genesis to Malachi - </span>Over 300 Prophecies foretold of the birth of the Messiah.</li>
                <li><span>3 B.C.E. - </span>Angel Gabriel foretells the birth of John the Baptist to Zechariah</li>
                <li><span>2 B.C.E. - </span>Angel Gabriel foretells the birth of Jesus to Mary; she visits her relative Elizabeth</li>
                <li><span>2 B.C.E. - </span>John the Baptist born and named; Zechariah prophesies; John to be in desert</li>
                <li><span>2 B.C.E., c. Oct. 1 - </span>Jesus born; “the Word became flesh”</li>
                <li><span>1 B.C.E. or 1 C.E. - </span>Astrologers visit; family flees to Egypt; Herod kills young boys; family returns from Egypt and settles in Nazareth</li>
                <li><span>12 C.E., Passover - </span>Twelve-year-old Jesus at the temple questions teachers</li>
                <li><span>12 C.E. to 29 - </span>Returns to Nazareth; continues subject to parents; learns carpentry; Mary has four more sons, as well as daughters</li>
                <li><span>29, spring - </span>John the Baptist begins his ministry</li>
                <li><span>29, fall - </span>Jesus baptized and anointed; Yahweh declares him his Son and approves him</li>
                <li><span>29, fall - </span>Tempted by the Devil in the Judean Wilderness</li>
                <li><span>29, fall - </span>First miracle at wedding in Cana of Galilee, turns water into wine</li>
                <li><span>30 - </span>Jesus first announces that “the Kingdom of the heavens has drawn near” in Galilee</li>
                <li><span>30 - </span>Heals official’s son; In Cana, Nazareth reads from Isaiah scroll which foretold of Him</li>
                <li><span>31, Passover - </span>Heals sick man at Bethzatha; Jews seek to kill him</li>
                <li><span>31, Passover - </span>Chooses 12 apostles, Gives Sermon on the Mount, Resurrects widow’s son</li>
                <li><span>31 or 32 - </span>Jesus gives Kingdom illustrations, Calms a storm from the boat, Sends demons into swine, Heals woman’s flow of blood; resurrects Jairus’ daughter</li>
                <li><span>32, near Passover - </span>Apostles return from preaching tour; Jesus feeds 5,000 men, People try to make Jesus king; he walks on sea; heals many</li>
                <li><span>32, after Passover - </span>Exposes human traditions, Heals Syrophoenician woman’s daughter; feeds 4,000 men</li>
                <li><span>32, after Passover - </span>On boat to Bethsaida, Jesus warns against leaven of Pharisees; heals blind man</li>
                <li><span>32, after Passover - </span>Keys of the Kingdom; foretells his death and resurrection, Transfiguration; Yahweh speaks</li>
                <li><span>32, after Passover - </span>Greatest in the Kingdom is a little child; lost sheep and unforgiving slave illustrations, On way to Jerusalem, tells disciples to set aside all for Kingdom</li>
                <li><span>32, Festival of Tabernacles - </span>Says “I am the light of the world”; heals man born blind, Sends out the 70; they return joyful</li>
                <li><span>32, Festival of Tabernacles - </span>Dines with Pharisee; condemns hypocrisy of Pharisees, Illustrations: unreasonable rich man and the faithful steward</li>
                <li><span>32, Festival of Dedication - </span>Fine shepherd and sheepfold illustration; Jews try to stone him; leaves for Bethany across Jordan</li>
                <li><span>32, after Festival of Dedication - </span>Teaches in cities and villages, traveling toward Jerusalem, Urges to enter narrow door; laments over Jerusalem</li>
                <li><span>32, after Festival of Dedication - </span>Teaches humility; illustrations: most prominent place and guests who made excuses</li>
                <li><span>32, after Festival of Dedication - </span>Lazarus dies and is resurrected by Jesus</li>
                <li><span>32, after Festival of Dedication - </span>Passing through, heals two blind men; visits Zacchaeus; ten minas illustration</li>
                <li><span>33, Nisan 8 - </span>Jesus arrives six days before Passover at Bethany</li>
                <li><span>33, Nissan 9 - </span>Enters Jerusalem triumphantly, riding on a donkey</li>
                <li><span>33, Nissan 10 - </span>Yahweh speaks; Jesus foretells his death; disbelief of Jews fulfills prophecy of Isaiah</li>
                <li><span>33, Nissan 11 - </span>Answers questions on God and Caesar, resurrection, greatest commandment</li>
                <li><span>33, Nissan 11 - </span>Illustrations: ten virgins, talents, sheep and goats</li>
                <li><span>33, Nissan 12 - </span>Jewish leaders plot to kill him, Judas arranges betrayal</li>
                <li><span>33, Nissan 14 - </span>Eats Passover with apostles, Washes feet of apostles</li>
                <li><span>33, Nissan 14 - </span>Jesus identifies Judas as traitor and dismisses him</li>
                <li><span>33, Nissan 14 - </span>Promises helper; illustration of true vine; gives command to love; last prayer with apostles</li>
                <li><span>33, Nissan 14 - </span>Agony in the garden; Jesus’ betrayal and arrest</li>
                <li><span>33, Nissan 14 - </span>Pilate seeks his release but Jews ask for Barabbas; sentenced to death on the torture stake</li>
                <li><span>33, Nissan 14 - </span>Dies on torture stake and becomes the sacrifice for the sins of the entire world</li>
                <li><span>33, Nissan 14 - </span>Body taken from the stake and placed in tomb</li>
                <li><span>33, Nissan 15 - </span>Priests and Pharisees get guard for tomb and seal it</li>
                <li><span>33, Nissan 17 - </span>Jesus resurrected three days later; appears five times to disciples</li>
                <li><span>33, After Nisan 16 - </span>Makes more appearances to disciples (1Co 15:5-7; Ac 1:3-8); instructs; commissions disciple-making</li>
                <li><span>33, Iyyar 25 - </span>Jesus’ ascension to Heaven, 40th day after his resurrection (Ac 1:9-12)</li>
                <li><span>The Second Coming, Future - </span>Jesus will physically come again.  There will be a judgement seat which Christ will sit upon and the millennial reign of Christ.</li>
            </ul>

            <div>
                <p><cite><a class="border-imprv" id="tribute-link" href="https://www.jw.org/en/publications/bible/nwt/appendix-a/events-in-jesus-life-on-earth/" target="_blank"><strong>Reference for Main Events of Jesus’ Life</strong></a></cite></p>
            </div>
        </div>

        <footer>
            <p>
                <em>Jesus said "I am the way, the truth, and the life: <strong>no man cometh unto the Father, but by me</strong>."</em>
                <br />
                <em>--John 14:6 (KJV)</em>
            </p>

            <p>
                <em>Jesus said "Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you"</em>
                <br />
                <em>--Matthew 5:44</em>
            </p>

            <h3>Read more from the <a href="https://www.biblegateway.com/versions/Amplified-Bible-AMP/#booklist" target="_blank"><strong>New Testament</strong>.</a></h3>
        </footer>

    </div>
</body>
</html>
              
            
!

CSS

              
                a {
    text-decoration: none;
    color: #D7B740;
    font-weight: 700;
}

a:hover {
    color: #FFD700;
}

body {
	background-color: lightgray;
	font-size: 20px;
	margin: 0px;
}

/* HEADER SECTION */

header {
    /*  
	position: fixed;
	width: 100%;
	*/
    background-color: rgb(43, 43, 43);
    border: 5px solid #D7B740;
    color: rgb(226, 223, 223);
    text-align: center;
    padding: 15px 0px;
}

header #title {
    margin: 0px 0px 0px 0px;
    color: #D7B740;
}

header p {
	margin: 10px 0px;
}

.made-by {
	font-size: 16px;
}

/* IMAGE SECTION */
#img-div {
	width: 100%;
	margin: 20px auto 20px auto;
	background-color: lightgray;
}

#image {
    width: 75%;
    display: block;
    margin: auto;
    border: 5px solid #D7B740;
    border-radius: 20px;
    max-width: 1400px; /* MERELY FOR FCC TEST TO PASS */
}

#img-caption {
    width: 40%;
    margin: 15px auto;
    text-align: left;
    color: rgb(226, 223, 223);
}

/* VIDEO SECTION */

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* TRIBUTE SECTION */
#tribute-info {
	background-color: lightgray;
}

#tribute-info h3, #tribute-info p {
	text-align: center;
}

#tribute-info ul {
    width: 70%;
    margin: auto;
    padding: 0px;
    list-style: none;
}

#tribute-info span {
	font-weight: 700;
}

#tribute-info h3 span {
    color: #D7B740;
}

.border-imprv {
    background-color: rgb(43, 43, 43);
    padding: 10px 35px;
    border: 5px solid #D7B740;
    border-radius: 20px;
}

/* FOOTER SECTION */
footer {
    background-color: rgb(43, 43, 43);
    width: 40%;
    padding: 10px;
    border: 5px solid #D7B740;
    border-radius: 20px;
    margin: auto;
}

footer p {
	margin: 20px;
	color: rgb(226, 223, 223);
}

footer h3 {
	text-align: center;
	color: rgb(226, 223, 223);
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1200px) {

	footer {
		width: 45%;
	}

    #img-caption {
        width: 45%;
    }

@media only screen and (max-width: 900px) {

	footer {
		width: 55%;
	}

    #img-caption {
        width: 55%;
    }
}

@media only screen and (max-width: 700px) {

	footer {
		width: 65%;
	}

    #img-caption {
        width: 65%;
    }
}

@media only screen and (max-width: 485px) {

    /* Bug Fixed with small phones, now completely responsive from 234+ width */

    body {
        font-size: 10px;
    }

    header {
        border: 3px solid #D7B740;
    }

    #image {
        border: 3px solid #D7B740;
    }

    .made-by {
        font-size: 9px;
    }

    footer {
        width: 75%;
        padding: 3px;
        border: 3px solid #D7B740;
        border-radius: 10px;
    }

    #img-caption {
        width: 75%;
    }

    .border-imprv {
        background-color: rgb(43, 43, 43);
        padding: 3px 18px;
        border: 3px solid #D7B740;
        border-radius: 10px;
    }


}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console