CODING PRACTICE 6 Cricketer Page

 Cricketer Page

In this assignment, let's build a Cricketer Page by applying the concepts we learned till now. You can use the Bootstrap concepts as well.


Refer to the below image.


webpage-on-cricketer-to-build


Note:

  • Try to achieve the design as close as possible.
  • This is a sample Cricketer Page. You can build your favourite Cricketer's Page using this as a reference.

Resources

Use the image URLs given below.



CSS Colors used:

Background color Hex Code value for Top Section:

  • #fb4e71

Background color Hex Code value for Bottom Section:

  • #e6f6ff

Background color Hex Code value for Card:

  • #ffffff

Text color Hex Code values:

  • #ffffff
  • #323f4b
  • #888888


CSS Font families used:

  • Roboto



Concepts Review

Want to quickly review some of the concepts you’ve been learning?

Take a look at the Cheat Sheets.






<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> </head> <body> <div class="fist-bg-continer d-flex flex-row"> <div> <h1 class="fist-heading">K.L.Rahul</h1> <p class="paragraph">Kannur Lokesh Rahul (born 18 April 1992), commonly known as KL Rahul, is an Indian international cricketer who plays...more</p> </div> <img src=" https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/klrahul-img1.png" /> </div> <div class="second-card "> <h1 class="sub-heading">IPL Records</h1> <div class="cricketer-ipl-records-card"> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/klrahul-img2.png" /> <h1 class="second-card-heading">KXIP vs RCB</h1> <p class="second-card-heading-paragraph">He scored an unbeaten 132 off just 69 balls against Royal Challengers Bangalore... more</p> </div> <h1 class="thrred-card-sub"> Videos</h1> <div class=" d-flex flex-row "> <div class="cricketer-video-text-container"> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/klrahul-img3.png" /> <p class="cricketer-video-description"> kl rahul hits 337 for kohili</p> </div> <div class="cricketer-video-text-container"> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/klrahul-img4.png" alt="" /> <P class="cricketer-video-description"> incredgjirjgijrijgtr rahul</P> </div> <div class="cricketer-video-text-container"> <img src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-static-website/klrahul-img5.png" alt="" /> <p class="cricketer-video-description">single-handing with by rahul</p> </div> </div> <div class="text-center"> <button class="btn btn-primary"> View More</button> </div> </body> </html>


@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap");


.fist-bg-continer {

    background-color: #fb4e71;

    padding: 16px;

}


.fist-heading {

    color: #ffffff;

    font-family: "Roboto";

    font-weight: bold;

    font-size: 35px;

}


.paragraph {

    color: #ffffff;

    font-family: "Roboto";

    font-size: 15px;

}


.second-card {

    background-color: #e6f6ff;

    padding: 10px;

}


.sub-heading {

    color: #323f4b;

    font-family: "Roboto";

    font-size: 20px;

    font-weight: bold;

}


.cricketer-ipl-records-card {

    background-color: #ffffff;

    border-radius: 15px;

    margin: 5px;

}


.second-card-heading {

    color: ;

    font-family: "Roboto";

    font-size: 20px;

}


.second-card-heading-paragraph {

    color: 10px;

    font-size: ;

    font-family: "Roboto";

}


.thrred-card-sub {

    color: #323f4b;

    font-family: "Roboto";

    font-size: 20px;

    font-weight: bold;

}


.cricketer-video-text-container {

    width: 97px;

    margin: 5px;

}


.cricketer-video-description {

    font-family: "Roboto";

    font-size: 15px;

}


Comments

Popular posts from this blog

CODING ASSIGNMENT 3 Library Management

CODING PRACTICE 11 Music Page

CCBP Static Website Coding Assignment 2 Solution | Yoga Page