Question

In: Computer Science

Make a working good looking webpage (Home page) of a PAYROLL website using CSS, HTML, and...

Make a working good looking webpage (Home page) of a PAYROLL website using CSS, HTML, and JavaScript

# Sign in/SignUp page should work

# CSS HTML and javaScript should be in separate files

# Add images

# post a picture of your output and code as well

Solutions

Expert Solution

<html>

    <style>

    body,p {

     font-family:arial;

     font-size:16px;

     font-weight:bolder;

     }

     

    .container {

    width: 500px;

    clear: both;

    }

    .container input {

    width: 100%;

    clear: both;

    }

    </style>

        <div class="container">

    <body>

    <h3> Payroll System </h3>

    <br/>Employee's Name

    <input type="text" id="emp_name" name="emp_name">

    <br>

    <br/> Daily Rate

    <input type="text" id="daily_rate" name="daily_rate">

    <br>

    <br/> Number of Days Work

    <input type="text" id="no_days_work" name="no_days_work">

    <br>

    <br>

    <button onclick="solve_salary()">Total Salary</button>

    <br><br>

    <p id="demo"></p>

    <p id="demo2"></p>

    </div>

    <script>

     function solve_salary() {

    var emp_name = document.getElementById("emp_name").value;

        var daily_rate = document.getElementById("daily_rate").value;

        var no_days_work = document.getElementById("no_days_work").value;

        

     gross_pay= parseFloat(daily_rate) * no_days_work;

         

     results = "Employee's Name : " + emp_name + ".";

         results2 ="Basic Salary : Php " + gross_pay.toFixed(2)+".";

         

     document.getElementById("demo").innerHTML = results;

         document.getElementById("demo2").innerHTML = results2;

         

     }

    </script>

    </body>

    </html>


Related Solutions

Create a Home Page using HTML and CSS Part 1 • Contain an image or logo...
Create a Home Page using HTML and CSS Part 1 • Contain an image or logo about your website. • Must contain three navigation links. Home link. Registration link. Animations link. • Footer will contain links to web pages to any other site you wish (just be outside your webpage, like YouTube,etc.) Open links in new tab, not current tab. Create a Registration page: • Registration Fields: 1) User Name - Input Text 2) Password - Input Password 3) Repeat...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
use CSS, java and HTML to make a charity admin page. It's a web page after...
use CSS, java and HTML to make a charity admin page. It's a web page after you log in to your account. I can have personal information, the amount of money donated, the children who have received charity, and some blogs. In fact, all the things are what I want. But you are free to do whatever You like, even if you don't say what I say. I just need a charity Admin page for charity User.Don't ask me for...
Please write "my account" page program by using HTML and CSS
Please write "my account" page program by using HTML and CSS
Create a welcome website in html/css for the fictional college elliott university, this website will consist of at least 4 in-page-content-blocks
Create a welcome website in html/css for the fictional college elliott university, this website will consist of at least 4 in-page-content-blocksElliott university welcome block :2-3 pictures with bordersThree paragraphs describing a student experience the collegeAppropriate for the contentGallery page block:Consisting of 8 to 10 imagesFormatted for best loading on the web across all devicesText paragraph under each imageRemaining Two blocks can reflect content that you choose:Consisting of 3 paragraphs of text per blockConsisting of at least one image per blockLook...
Create following webpage in HTML : 1. Login Page This is the first page the user...
Create following webpage in HTML : 1. Login Page This is the first page the user should see. The user can login, signup, or continue as a guest. Your task is to implement the following features: a) Signup form This form should collect the information required for creating a new account on your movie database website. At the least, it should collect an email address, username, avatar image/graphic, first name, last name, and a password. You can ask for more...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT