Skip to content

Latest commit

 

History

History
 
 

03.4-jumbotron

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
tutorial

03.4 Jumbotron

Using everything you have learned so far...

📝 Instructions:

  1. Build a Jumbotron component that receives the following properties:
<Jumbotron
    title="Welcome to react"
    description="React is the most popular rendering library in the world"
    buttonLabel="Go to the official website"
    buttonURL="https://reactjs.org/"
/>

Expected result:

Jumbotron

💡 Hints:

  • Remember to use prop-types to validate your component properties.

  • Your HTML's component should be something like this:

<div class="jumbotron m-5">
  <h1 class="display-4">Welcome to react</h1>
  <p class="lead">React is the most popular rendering library in the world</p>
  <a class="btn btn-primary btn-lg" href="https://reactjs.org/" role="button">Go to the official website</a>
</div>