Giter VIP home page Giter VIP logo

ama's Introduction

๐Ÿ‘‹ Hi there! I am Ikechukwu Orji
  • ๐Ÿ”ญ Iโ€™m currently working on Moor Pay
  • ๐ŸŒฑ Iโ€™m currently learning unreal engine
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on building frameworks or AI model

๐Ÿ”ง Technologies & Tools

๐Ÿ“ˆ GitHub Stats

ย  Jojitoon's GitHub Stats

ama's People

Contributors

sindresorhus avatar thelarkinn avatar

Watchers

 avatar  avatar  avatar

ama's Issues

comparing passwords not 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.

loading html table with js array i guess

`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
`

<title>Add Products</title>

CREATE SALES RECORD

    <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>
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.