.landing{
position: inherit;
width: 100%;
height: 80vh;
z-index: 0;
}
.landing .wrapper + img{
width: 100%;
}Run Code Online (Sandbox Code Playgroud)
<div class="landing">
<div class="wrapper">
<img src="http://lorempixel.com/350/100/" alt="Our Building">
<img src="http://lorempixel.com/350/100/" alt="LOGO">
</div>
</div>Run Code Online (Sandbox Code Playgroud)
我想要的只是图像应该与其父母一起使用,请帮助我.提前致谢
let users = {
142201801: {
name: "Pankaj Jaiswal",
address: "Om sai rcm shopy , 400089",
accountType: "Saving",
deposits: 20000,
withdraws: 15000,
balance: 5000
},
142201802: {
name: "John Deo",
address: "Om sai rcm shopy , 400089",
accountType: "Saving",
deposits: 20000,
withdraws: 15000,
balance: 5000
}
};
let accountNumber_inital = 142201805;
function accountMaker() {
let accountNumber = accountNumber_inital + 1;
let name = document.getElementById("userName").value;
let address = document.getElementById("userAddress").value;
let type = document.getElementById("accoutType").value;
console.log("Account made");
}
Run Code Online (Sandbox Code Playgroud)
我有一个用户对象,我已经通过硬编码添加了 2 个用户。
我的对象是嵌套对象,第一个键是用户的帐号,我将他们的数据嵌套在其他对象中。我想要的是从输入字段添加其他用户。我接受用户名、地址和帐户类型。
我想将数据附加到其他用户之后的用户对象。我已经尝试了追加,但它给了我错误 …