Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Workshop desktop Frontend #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions ResponsiveBlocks.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<html>

<head>
<meta name="viewport" content="width=device-width, initial-scale=10">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
<link rel="stylesheet" href="new.css">
</head>

<body>
<div id='stars'></div>
<div id='stars2'></div>
<div id='stars3'></div>







<div class="col-md-10 col-md-offset-1">
<div class="rectangle">



<div class="col-md-2 col-sm-2">

<div class="rect">
<img src="bee.png" alt="" class="image">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indentation. Install an HTML linter in your editor.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

</div>
</div>

<div class="col-md-10 col-sm-10">

<h1 class="htext">Super Flight to Mars</h1>
<h1 class="d_money">$18,200</h1>
<h7 class="stext">2 Earth Years</h7>


</div>


<div class="col-md-10 col-sm-12">
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>


<button type="button" class="bbtn1">BOOK TRIP</button>

</div>



</div>






</div>








</body>




</html>
Binary file added bee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
178 changes: 178 additions & 0 deletions main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<html>

<head>
<meta name="viewport" content="width=device-width, initial-scale=10">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
<link rel="stylesheet" href="wallp.css">
</head>

<body>
<div id='stars'></div>
<div id='stars2'></div>
<div id='stars3'></div>

<div class="containertop">
<div class="row">
<div class="center-block">
<div class="col-md-6">
<h1 class="Heading">Flights of a Lifetime</h1>
</div>
<div class="col-md-6">
<div class="addtripbtn">
<button type="button" class="btn" href="">+ Add Trip</button>
</div>
</div>
</div>
</div>
</div>


<div id="line" style="margin-top: 50px;">
<div class="col-md-12" style="border-bottom: solid;float: left;margin-top: -30px;border-color: lightgray;"></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so many inline styles everwhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

</div>
<div class="containermid">
<div class="row">
<div class="center-block">
<div class="col-md-6">
<div class="Totalmoney" style="margin-left: 4px;">
Total Money:
<input type="text" name="FirstName" value="" class=inpbox>
<br>
</div>
</div>
<div class="col-md-6">
<h3 class="Totalmoney" style="margin-left:-60px;">Remaining money to book trips : $93,000</h3>
</div>
</div>
</div>
</div>

<div class="containerdown">
<div class="row">
<div class="center-block">
<div class="Rectangle">
<div class="col-md-3">
<div class="rect">
<img src="bee.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>

<div class="Rectangle">
<div class="col-md-3">
<div class="rect">
<img src="sun.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>

<div class="Rectangle">
<div class="col-md-3">
<div class="rect">
<img src="bee.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>

<div class="Rectangle">
<div class="col-md-3">
<div class="rect">
<img src="sun.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>

<div class="Rectangle">
<div class="col-md-3">
<div class="rect">
<img src="bee.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>

<div class="Rectangle">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

read up about semantic naming of CSS classes and improve your naming.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

<div class="col-md-3">
<div class="rect">
<img src="sun.png" alt="" width="142" height="142">
</div>
</div>
<div class="col-md-6">
<h1 class="htext">Super Flight to Mars
</h1>
<h7 class="stext">Two earth Years</h7>
<h1 class="ftext">Race through the Solar System to reach the Red planet. This flight will take 11 Earth Years for each side of the journey.</h1>
</div>
<div class="col-md-3">
<h1 class="d_money">$18,200</h1>
<button type="button" class="bbtn1">BOOK TRIP</button>
</div>
</div>


</div>

</div>
</div>



</body>




</html>
Loading