Find Jobs
Hire Freelancers

HTML + JavaScript program that creates a CSS file

$100-200 USD

Completed
Posted about 15 years ago

$100-200 USD

Paid on delivery
I need a JavaScript program that will generate CSS code based on user inputs (from an HTML page). The user will enter values such as padding, margins, background color and the program will write the CSS for that. The output will have two parts: * Create the CSS that users can copy and paste to their CSS files. * Update the CSS in the browser (DOM update) so that the design preview updates. ## Deliverables This customization controls the display of CSS-only drop down menus. You can see a working example in the top navigation of http://wpml.org. The CSS file that needs to be customized by the Javascript is this one: [login to view URL] The HTML page will contain sample HTML for a drop down menu, which will be styled by this CSS. The user sees the example, with the default values (can be hard-coded in the HTML). When he edits the values and clicks UPDATE, the Javascript will: 1. Validate the format of the inputs and warn if there's a problem. 2. Create the CSS according to the user's input. 3. Update the DOM so that the example updates. 4. Update the CSS display that the user can copy. The list of the properties that need to be styled is: 1. Padding 2. Background color 3. Font type 4. Font size 5. Font color 6. Checkbox to include a drop-down arrow for drop-down menus (I will supply the graphics). 7. Line height These attributes should be specified for the top menus, selected top menu, drop-down menus and selected drop down menus. I would need to receive two files: 1. The HTML file with the form input, sample drop-down menu and CSS output. 2. The Javascript that does the work.
Project ID: 3859918

About the project

7 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$85 USD in 7 days
5.0 (43 reviews)
5.0
5.0
7 freelancers are bidding on average $103 USD for this job
User Avatar
See private message.
$127.50 USD in 7 days
4.2 (38 reviews)
4.4
4.4
User Avatar
See private message.
$144.50 USD in 7 days
4.9 (22 reviews)
3.9
3.9
User Avatar
See private message.
$102 USD in 7 days
5.0 (19 reviews)
3.6
3.6
User Avatar
See private message.
$93.50 USD in 7 days
3.5 (12 reviews)
2.7
2.7
User Avatar
See private message.
$85 USD in 7 days
4.3 (5 reviews)
2.5
2.5
User Avatar
See private message.
$85 USD in 7 days
0.0 (2 reviews)
1.6
1.6

About the client

Flag of UNITED STATES
Las Vegas, United States
5.0
66
Member since Nov 9, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.