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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
        <link rel="stylesheet" href="/css/app.css">
        <title>Tribute Page</title>
    </head>
    <body>
        <div id="main">
            <h1 id="title" class="text-center">Steve Jobs</h1>
            <h2 class="text-center">(February 24, 1955 – October 5, 2011)</h2>
            <h3 class="text-center">
                <em>"Father of the Digital Revolution"</em>
            </h3>
            <div id="img-div">
                <img src="https://desktopwalls.net/wp-content/uploads/2015/05/Steve%20Jobs%20Classic%20BW%20Photo%20Desktop%20Wallpaper-900x506.jpg" alt="Steve Jobs" id="image" />
                <div id="image-caption" class="text-center">
                    <strong>Steve Jobs'</strong> vision of a "computer for the
                    rest of us" sparked the PC revolution and made Apple an icon
                    of American business.
                </div>
            </div>
            <div id="tribute-info">
                <h3 class="text-center">Who was Steve Jobs?</h3>
                <p>
                    <strong>Steven Paul Jobs</strong> was an American inventor,
                    designer and entrepreneur who was the co-founder, chief
                    executive and chairman of Apple Computer. Apple's
                    revolutionary products, which include the iPod, iPhone and
                    iPad, are now seen as dictating the evolution of modern
                    technology. Born in 1955 to two University of Wisconsin
                    graduate students who gave him up for adoption, Jobs was
                    smart but directionless, dropping out of college and
                    experimenting with different pursuits before co-founding
                    Apple with Steve Wozniak in 1976. Jobs left the company in
                    1985, launching Pixar Animation Studios, then returned to
                    Apple more than a decade later. Jobs died in 2011 following
                    a long battle with pancreatic cancer.
                </p>
                <blockquote class="text-center">
                    <p>
                        <strong>“The people who are crazy enough to think they can change the world are the ones who do.”</strong>
                    </p>
                    <footer><p><i>-Steve Jobs</i></p></p></footer>
                </blockquote>
            </div>
            <div class="text-center">
                <h3>
                    Read more about Steve Jobs on
                    <a
                        href="https://en.wikipedia.org/wiki/Steve_Jobs"
                        target="_blank"
                        id="tribute-link"
                        >Wikipedia</a
                    >.
                </h3>
            </div>
            <footer class="text-center">
                <p>
                    Tribute Page by
                    <a href="https://github.com/maheshvpawar" target="_blank"
                        >Mahesh Pawar</a
                    >
                </p>
            </footer>
        </div>
    </body>
</html>

              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    margin: auto;
    padding: 20px;
    font-size: 10px;
    color: #333333;
    background-color: aliceblue;
}

.text-center {
    text-align: center;
}

h1 {
    font-size: 3.6em;
    margin: 0 0 1rem;
}

h2 {
    font-size: 2.4em;
    margin: 2rem 0 1rem;
}
h3 {
    font-size: 2.1em;
    margin: 2rem 0 1rem;
}

p {
    font-size: 1.6em;
}

a {
    text-decoration: none;
}

#img-div {
    width: 65%;
    display: center;
    margin: auto;
    font-size: 1.4em;
    border: 5px burlywood solid;
}

img {
    width: 100%;
}

#tribute-info p {
    margin-bottom: 1rem;
}

              
            
!

JS

              
                
              
            
!
999px

Console