123Doppelkeks
Neues Mitglied
Hallo liebes Forum,
ich möchte gerne einen GoPro-Buyers Guide auf HTML-Basis schreiben. Ich habe mich vorher noch nie mit HTML beschäftigt, habe aber in der Uni Erfahrungen mit C++ gemacht. Ich bin nun soweit, dass die Oberfläche des Guides quasi steht:
Meine Idee ist nun, dass ich quasi über ne Menge if-Bedingungen aus den Checkboxen ein Auswahlprofil erstelle, welches auch verschiedene GoPro-Modelle verweist. Also wenn z.B. die Punkte "4K" und "Display" angemarkt werden, dass dann auf die HERO 5 Black verwiesen wird. Da habe ich allerdings leider keine Ahnung mit der Implementierung. PhP ? Wäre über jeden Tipp sehr dankbar.
ich möchte gerne einen GoPro-Buyers Guide auf HTML-Basis schreiben. Ich habe mich vorher noch nie mit HTML beschäftigt, habe aber in der Uni Erfahrungen mit C++ gemacht. Ich bin nun soweit, dass die Oberfläche des Guides quasi steht:
HTML:
<html>
<head>
<title>GoPro Buyers Guide</title>
</head>
<body>
<?php
?>
<h3>1. Question</h3>
<h4>Please select the one application you would use your ActionCam primarily.</h4>
<p>Usage:
<select name="auswahl1">
<option value="start1">-</option>
<option value="AAS">Action/Adventure/Sports</option>
<option value="VLOG">Vlogging</option>
<option value="T-V">Travel-videos</option>
<option value="TNH">Timelapses/Nightlapses/Hyperlapses</option>
<option value="Foto">Photos</option>
</select>
</p>
<br>
<h3>2. Question</h3>
<h4>Do you already own a cam?</h4>
<p>Answer:
<select name="auswahl2">
<option value="start2">-</option>
<option value="No">No</option>
<option value="H3">GoPro HERO 3/3+</option>
<option value="H4S">GoPro HERO 4 Silver</option>
<option value="H4B">GoPro HERO 4 Black</option>
<option value="oth">other</option>
</select>
</p>
<br>
<h3>3. Question</h3>
<h4>How much money would you spend on your new Cam?</h4>
<p>Answer: max.
<select name="auswahl3">
<option value="start3">-</option>
<option value="b1">100$</option>
<option value="b3">300$</option>
<option value="b5">500$</option>
<option value="mt5">no max.</option>
</select>
</p>
<br>
<h3>4. Question</h3>
<h4>Which features should your new Cam contain?</h4>
<h5>(you can choose more then one option)</h5>
<p>
<input type="checkbox" name="Feat1" value="a">Display<br>
<input type="checkbox" name="Feat2" value="b">good Microphone<br>
<input type="checkbox" name="Feat3" value="c">4K (very high resolution)<br>
<input type="checkbox" name="Feat4" value="d">1080p (good resolution)<br>
<input type="checkbox" name="Feat5" value="e">high fps (=frames per second)<br>
<input type="checkbox" name="Feat6" value="f">watertightness<br>
<input type="checkbox" name="Feat7" value="g">image stabilization<br>
<input type="checkbox" name="Feat8" value="h">Photos in RAW<br>
<input type="checkbox" name="Feat9" value="i">No Fisheye-Lens<br>
<input type="checkbox" name="Feat0" value="j">many available accessories<br>
</p>
<br>
</form>
<?php
} else {
echo ;
}
?>
</body>
</html>
Meine Idee ist nun, dass ich quasi über ne Menge if-Bedingungen aus den Checkboxen ein Auswahlprofil erstelle, welches auch verschiedene GoPro-Modelle verweist. Also wenn z.B. die Punkte "4K" und "Display" angemarkt werden, dass dann auf die HERO 5 Black verwiesen wird. Da habe ich allerdings leider keine Ahnung mit der Implementierung. PhP ? Wäre über jeden Tipp sehr dankbar.