Find Jobs
Hire Freelancers

A Quick JavaScript Task

$30-250 USD

In Progress
Posted over 11 years ago

$30-250 USD

Paid on delivery
Design a system that models the way the client browser maintains the aforementioned state. The system must allow the user to enter a new URL into the system and either go back to a URL loaded previous to the current URL or go forward to a URL loaded after the current URL. The storage mechanism used by the browser must include two stacks (one backward and one forward) both of which support the following behaviour: ? LIFO ? Pop item from stack ? Push item onto stack ? Empty a stack Generally speaking, the backward stack stores items of previously visited URLs and the forward stack stores items moved from the backward stack to the forward stack. Specific requirements: The system must allow the user to interact in three ways: enter a new URL, recover URLs from the backward stack; and recover URLs from the forward stack. The actions of the user should produce the following results: ? Entering URL (via an address bar) o Push current document onto backward stack o Empty forward stack ? Recover URL from backward stack o Push current document onto forward stack o Pop backward stack o Load popped URL as current document ? Load URL from forward stack o Push current document onto back stack o Pop forward stack o Load popped URL as current document ? Additional Rules o The system is initialised with a Home page o A new Window has empty stacks o Popping an Empty Stack is non-fatal Implementation Implement a client interface to support the requirements and demonstrate the principles in full. The best approach to take in order to solve the problem is to use an event based style of programming. Use appropriate form components to represent the components of the browser and a series of JavaScript functions to model the behaviour of the browser. The design must simulate the behaviour of the web client, but not duplicate its performance. Do not, therefore, write code which calls a web page via a URL and inserts the page into part of the loaded document. Additional Requirements Explore regular expressions implementations should support a full URL string and are able to extract the relevant parts and store/display them appropriately. You should also explore stacks in more detail, implementations must support the data structures made from objects (nodes and links) in the form of linked lists. These structures do not allow non-sequential access to data.
Project ID: 4101025

About the project

6 proposals
Remote project
Active 11 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
6 freelancers are bidding on average $99 USD for this job
User Avatar
hello i can help you though let me know to discuss if u are interested thank u
$150 USD in 5 days
5.0 (58 reviews)
6.1
6.1
User Avatar
I, I would happy to help you. All the best, Steve
$120 USD in 1 day
4.8 (17 reviews)
5.6
5.6
User Avatar
Ready to start this project
$100 USD in 2 days
4.8 (71 reviews)
5.4
5.4
User Avatar
Thank you for posting an interesting Job. You have given all the specification which could be easily turned into code. I like to work on this job. Thanks again.
$100 USD in 0 day
5.0 (7 reviews)
4.0
4.0
User Avatar
Hello, I am doing work in js from a long time. I can do work on your project and make great result in less time. Thanks
$35 USD in 1 day
5.0 (3 reviews)
2.0
2.0
User Avatar
Hello! At first I propose the creation of an algorithm of the script (probably will chart)
$250 USD in 5 days
0.0 (0 reviews)
3.4
3.4
User Avatar
Ready to this work.
$90 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Broadstairs, United Kingdom
0.0
0
Payment method verified
Member since Jan 6, 2013

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.