Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9234707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:51:10+00:00 2026-06-18T06:51:10+00:00

I am tasked with creating a website using only client side techs such as

  • 0

I am tasked with creating a website using only client side techs such as HTML, CSS and JavaScript. We can’t using any server-side tech because the instructor is too lazy to install anything and won’t allow us to deploy using something such as Heroku. Is there a way I can do this? In particular I want to create partials for that navigation and footer without having to copy and paste them in every single file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:51:11+00:00Added an answer on June 18, 2026 at 6:51 am

    I know of two different approaches:

    1. Using Ajax

    You can use ajax to do this – probably with the help of a JavaScript library or framework.

    JQuery’s load can do things like $('#header').load('header-partial.html');

    If you’re building something more complex with a lot of views, etc… I’d consider using a MV* javascript framework like Backbone.js or AngularJS.

    Check out the AngularJS seed project on GitHub for an example

    2. Using a build script

    If your site is simple enough that all you want to do is include a header and footer on each page, you should consider doing this as a build step in your deployment process. I.E. complile your html with the partials locally, and upload full pages, with the header/footer code on every html page.

    This approach has the benefit of not breaking your site if js is disabled.

    For an example, check out html5boilerplate’s ant build script

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm tasked with creating a Java Web Service for a .NET 2.0 client to
I'm creating a website/codeigniter-project that uses views which link to external CSS files. Everywhere
I am tasked with creating an uploader for a site that can handle very
I've been tasked with creating a server monitor that tests the system at standard
I'm tasked with creating a website application that resembles a POS (Point-of-Sale) system's editing
I've been tasked with creating a clean template for our HTML newsletter with circulates
I've been tasked with creating a sphere that can be rotated by touch (or
I've been tasked with creating some sort of service that will take any e-mail
So I've been tasked with creating a tool for our QA department that can
I'm tasked with creating an application using XCode for OSX. This application needs to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.