Bootstrap Framework Hands-on Solution | TCS Fresco Play

1.Bootstrap-Typography(20 min)

File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>typography</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
//write your code here
<div>
<h1>Notes Bureau</h1>
<h2>Notes Bureau</h2>
<h3>Notes Bureau</h3>
<h4>Notes Bureau</h4>
<h5>Notes Bureau</h5>
<h6>Notes Bureau</h6>
</div>
</body>
</html>
2.Bootstrap - Button Groups

File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
//write your code here
<div class="btn-group btn-group-lg">
<Button>Notes Bureau 1</Button>
<Button>Notes Bureau 2</Button>
<Button>Notes Bureau 3</Button>
</div>
<div class="btn-group btn-group-sm">
<Button>Notes Bureau 1</Button>
<Button>Notes Bureau 2</Button>
<Button>Notes Bureau 3</Button>
</div>
<div class="btn-group btn-group-xs">
<Button>Notes Bureau 1</Button>
<Button>Notes Bureau 2</Button>
<Button>Notes Bureau 3</Button>
</div>
</body>
</html>
3.Bootstrap - Navbar(40 min)

File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<nav>
<a class="navbar-brand">Navbar</a>
<button data-target="#navbarCollapse"></button>
<ul class="nav navbar-nav navbar-right"></ul>
<div id="navbarCollapse">
<form action="" class="navbar-form navbar-right">
<span class="glyphicon glyphicon-search"></span>
</form>
</div>
</nav>
</body>
</html>
4.Bootstrap - Panel(25 min)

File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
//write your code here
<div class="panel panel-default">
<div class="panel-heading">Notes Bureau</div>
<div class="panel-body">Notes Bureau</div>
<div class="panel-footer">Notes Bureau</div>
</div>
</body>
</html>
5.Bootstrap - Images(25 min)
File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<img class="img-responsive">
<img class="img-circle">
<img class="img-thumbnail">
</body>
</html>
6.Bootstrap - Carousel
File Name: index.html
<!DOCTYPE html>
<html>
<head>
<title>Grab it!!!!</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
// write your code
<div class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators"> </ol>
<img><img><img>
<div class="carousel-inner">
<div class="item active"></div>
</div>
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right">Next</span>
</a>
</div>
</body>
</html>
___________________
Updated: 18-oct-22
You need to follow these steps otherwise you will face some server issues even hands-On code is right.
Step 1: Run --- Install
Step 2: Run ---- Run
Step 3: Run Tests
Do this steps before pasting code after Run Tests to check the test cases passed
###################################
1. Bootstrap - Typography
####################################
<!DOCTYPE html>
<html>
<head>
<title>typography</title>
<link href="./css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./css/mystyle.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div>
<h1> FrescoPlay </h1>
<h2> FrescoPlay </h2>
<h3> FrescoPlay </h3>
<h4> FrescoPlay </h4>
<h5> FrescoPlay </h5>
<h6> FrescoPlay </h6>
</div>
</body>
</html>
###################################
2. BootStrap - Images
####################################
<!DOCTYPE html>
<html>
____________________
Post a Comment