jojitoon / ama Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thelarkinn/ama
Ask me anything!
Home Page: https://github.com/jojiAndela/ama/issues?q=is%3Aissue+is%3Aclosed
This project forked from thelarkinn/ama
Ask me anything!
Home Page: https://github.com/jojiAndela/ama/issues?q=is%3Aissue+is%3Aclosed
do i run npm init everytym i create a new branch?
`var rIndex, salesTable = document.getElementsByTagName('table');
function addRow (){
var newRow = table.insertRow (table.length),
cell1 = newRow.insertCell(0),
cell2 = newRow.insertCell(1),
cell3 = newRow.insertCell(2),
product = document.getElementById('product').value,
qty = document.getElementById('qty').value,
price = document.getElementById('price').value;
cell1.innerHTML = product;
cell2.innerHTML = qty;
cell3.innerHTML = price;
slectedRowToInput();
}
function selectedRowToInput() {
for(var i =1; i<table.rows.length; i++)
{
salesTable.rows[i].onclick = function()
{ }`
this is the html code.....it is not just working.. nt sue m correct sha
`
<div class="products">
<!-- <input type="dropdown" name="Product" id="product"> -->
<select name="Products" id="product">
<option value="product" >PRODUCTS</option>
<option value="fish 30">FISH <span id="price">30</span></option>
<option value="meat 50">MEAT <span id="price">50</span ></option>
</select>
<input type="number" name="Quantity" id="qty" placeholder="quantity" min="1">
<!-- <input type="button" value="ADD" id="addBtn" onclick="addRow"> -->
ADD
</div>
<h1>SALES</h1>
<table id="table">
<thead >
<tr>
<th>Products</th>
<th>Quantity</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td data-column="Products">Rice</td>
<td data-column="Quantity">5</td>
<td data-column="Price">500</td>
</tr>
<tr>
<td data-column="Products">Rice</td>
<td data-column="Quantity">5</td>
<td data-column="Price">500</td>
</tr>
<tr>
<td data-column="Products">Rice</td>
<td data-column="Quantity">5</td>
<td data-column="Price">500</td>
</tr>
</tbody>
</table>
<button type="button" id="btn" onclick="location.href='viewSales.html'">CREATE SALES RECORD</button>
</div>
<script src="../assets/javascript/createsales.js"></script>
please help out...dz is d last issue i av
hi
postgres://mokieefg:[email protected]:5432/mokieefg
dropped messages there for you
when i attach my end point on heroku...itsn nt working
`const pwd1= document.getElementById('password')
const pwd2 = document.getElementById('confirmPassword')
function checkPass(){
if (pwd1.value != pwd2.value){
pwd2.setCustomValidity("not matching")
}
else {
}
}
pwd2.onkeyup = checkPass;`
even when the passwords match, its still saying not matching.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.