-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (90 loc) · 4.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Tesla</title>
<link rel="stylesheet" href="styles/design.css" />
</head>
<body>
<header id="header" style="background-color: black">
<a href=""><img src="images/tesla-logo-small.png" id="header-img" name="company-logo"/></a>
<nav id="nav-bar">
<button class="nav-link"><a href="#form" id="feature-a">Features</a></button>
<button class="nav-link"><a href="#email" id="preview-a">Preview</a></button>
<button class="nav-link"><a href="#video" id="pricing-a">Pricing</a></button>
</nav>
</header>
<section>
<form id="form">
<h2>Designed for Performance and Aero Efficiency</h2>
<p>As an all-electric supercar, Roadster maximizes the potential of aerodynamic engineering—with record-setting performance and efficiency.</p>
<h3>Subscribe to our newsletter</h3>
<input type="email" id="email" placeholder="Enter your email address"/><br/>
<input type="submit" name="SUBSCRIBE" id="submit"/>
</form>
<div id="features">
<div class="div-feature">
<div class="features-hr-div">
<hr/>
</div>
<h2>Interior</h2>
<p>The first supercar to set every performance record and still fit seating for four.</p>
</div>
<div class="div-feature">
<div class="features-hr-div">
<hr/>
</div>
<h2>Glass Roof</h2>
<p>A lightweight, removable Glass Roof stores in the trunk for an open-air, convertible driving experience.</p>
<div class="features-hr-div">
<hr id="feature-hr-link"/>
</div>
</div>
</div>
<video id="video" poster="images/car.jpg" controls>
<source src="videos/ezgif.com-video-cutter.mp4" type="video/mp4">
Your browser doesnot support video tag
</video>
<div id="pricing">
<div class="price-card top-cards">
<h2>Roadster</h2>
<img src="images/roadster.jpg" alt="price card image" class="price-card-img"/>
<p id="pricing-card1-p">The quickest car in the world, with record-setting acceleration, range and performance.</p>
<p><strong>1.9s</strong><br/>0-60 mph</p>
<p><strong>+250 mph</strong><br/>Top Speed</p>
<p><strong>620mi</strong><br/>Mile Range</p>
</div>
<div class="price-card top-cards">
<h2>Model S</h2>
<img src="images/model-s.jpg" alt="price card image" class="price-card-img"/>
<p>Model S is built from the ground up as an electric vehicle, with high-strength architecture and a floor-mounted battery pack allowing for incredible impact protection.</p>
<p><strong>2.4s</strong><br/>0-60 mph</p>
<p><strong>30cu ft</strong><br/>Best in Class Storage</p>
<p><strong>335mi</strong><br/>Mile Range</p>
</div>
<div class="price-card down-cards">
<h2>Model 3</h2>
<img src="images/model-3.jpg" alt="price card image" class="price-card-img"/>
<p>Safety is the most important part of the overall Model 3 design. The metal structure is a combination of aluminum and steel, for maximum strength in every area. In a roof-crush test, Model 3 resisted four times its own mass, even with an all-glass roof: that's the same weight as two full-grown African elephants.</p>
<p><strong>3.2s</strong><br/>0-60 mph</p>
<p><strong>325 mi</strong><br/>Range(EPA est.)</p>
<p><strong>AWD</strong><br/>Dual Motor</p>
</div>
<div class="price-card down-cards">
<h2>Model X</h2>
<img src="images/model-x.jpg" alt="price card image" class="price-card-img"/>
<p id="pricing-card4-p">Model X is the safest SUV ever. Built from the ground up as an electric vehicle, the body, chassis, restraints and battery technology provide a very low probability of occupant injury.</p>
<p><strong>5-Star Safety</strong></p>
<p><strong>Room for 7</strong><br/></p>
<p><strong>295mi</strong><br/>Mile Range</p>
</div>
</div>
</section>
<footer>
© Gaurav Walia 2019
</footer>
<script src="scripts/script.js" type="text/javascript"></script>
</body>
</html>