Commit 0c476754 authored by LasseKau's avatar LasseKau
Browse files

update

-
parent 530b564f
@import "./styles/style.css";
.App {
display: flex;
......@@ -9,8 +10,6 @@
}
.information {
display: flex;
flex-direction: column;
......@@ -43,7 +42,7 @@ input {
.cars {
display: flex;
align-items: center;
align-items:flex-start;
flex-direction: column;
width: 100%;
}
......
......@@ -133,23 +133,23 @@ function App() {
/>
<button onClick={addCar}>Add Cars</button>
</div>
<div className="cars">
<div className="carss">
<button onClick={getCars}>Show cars</button>
{carList.map((val, key) => {
return (
<div className="car">
<div>
<h3>Model: {val.name}</h3>
<h3>Model Year: {val.year}</h3>
<h3>Description: {val.maker}</h3>
<h3>Maker: {val.review}</h3>
<h3>Price: {val.price}</h3>
<h3>Model: {val.carName}</h3>
<h3>Model Year: {val.carYear}</h3>
<h3>Description: {val.carMaker}</h3>
<h3>Maker: {val.carReview}</h3>
<h3>Price: {val.carPrice}</h3>
</div>
<div>
<input
type="text"
placeholder="increase price... "
placeholder="test"
onChange={(event) => {
setNewPrice(event.target.value);
}}
......
header {
html header {
background: lightskyblue;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
justify-content: center;
}
body {
background: #7cc0e7;
}/*# sourceMappingURL=style.css.map */
\ No newline at end of file
{"version":3,"sources":["style.scss"],"names":[],"mappings":"AAAA;EACI,wBAAA;EACA,aAAA;EACA,uBAAA;AACJ","file":"style.css"}
\ No newline at end of file
{"version":3,"sources":["style.scss"],"names":[],"mappings":"AAAA;EAII,wBAAA;EACA,aAAA;EACA,uBAAA;AAFJ;;AAIA;EACI,mBAAA;AADJ","file":"style.css"}
\ No newline at end of file
html
header {
background: lightskyblue;
display: flex;
justify-content: center;
}
body {
background: fade-in($color: #7cc0e7, $amount: 1)
}
input-main{
}
input-main-hover {
}
input-add-car {
}
input-show-car {
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment