Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

First Project, Progress, Questions, and introduction.

Featured Replies

Hey everyone,

I am fairly new to these forums. I have been looking through threads for a matter of weeks, just haven't got around to make an account. All I know is that you guys are very helpful.

 

Alright let me explain my background around programming.

Little to none. A few weeks ago I had an idea for a website, a website dedicated to helping people solving the rubiks cube. I am very knowledgeable in rubix cubes, as I can solve one in under a minute.

I have always wanted to learn HTML/CSS, and I figured this project would be a good learning experience.

 

So I have gone through the majority of the Web fundamentals course on codeacadamey. Earlier I borrowed a copy of HTML/XHTML/CSS FOR DUMMIES. I'll look at that later.

 

I have started on the site, have a pretty basic outline for the site, but I have a few questions for you guys to help me get off to a good start.

 

So my first Three questions are:

 

1. So right now I am using boxes to format my webpage. The plan is to have the banner box (Up top) and the Navigation box (Over to the left) Always be the same. Now I could finish it, then copy and paste it a bunch of times, but what if I want to add something..would I have to copy and paste it to every page? Is there a way to link another HTML file to my index, and just have that have the header code? What is the best way to go about doing this?

 

2. I have no previous expirence with graphic design. I plan to have a few graphical buttons, the logo, and possibly some diagrams. How would I go about getting and or learning how to do these? I do have a copy of Photoshop available to me.

 

3. I also plan to have an ability to use a stopwatch on the site. What coding language would I program that on? Is it possible for me to use an open source one? It just needs a start/stop and a clear button. Im looking for something basic. Any info will help.

post-45922-0-98710700-1351803998_thumb.png

Hi there,

 

For your first question you can use PHP

You change your html extention to .php instate of .html

 

So you will now have 2 files:

  • index.php
  • header.php

The header.php file will contain everything in html that is now your header.

Then you can use the php function include, here is an example

 

<html>
<head>
</head>
<body>
<?php
   include 'header.php';
?>
<div id="content">
</div>
<div id="footer">
</div>
</body>
</html>

 

Then your header.php file will contain all your header information, for example:

 

<div id="header">
  <div class="logo">
   <img src="logo.png" alt="logo" />
  </div>
  <h1>Site Title</h1>
</div>

 

For your second question you can use tutorial that you can find online

For example:

I found a tutorial for your third question

 

http://www.splashnology.com/article/stop-watch-on-css3-without-any-pictures-or-scripts/4833/

 

 

If you have more questions, just ask :)

 

Goodluck

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.