Instead of rolling you can just check: https://dpt-roll.github.io/ (Randomly selects a project)
I'm looking for something more substantial than most of the projects on this page though. What's something you could spend a week or two on that would be a good programming challenge?
Hell, if you just have an idea for a program you want made that'll work too. Anything to escape this boredom.
>>56624270
Working on my own project right now (license plate-based messaging app), but rolling anyway because I want a side project for my side project
>>56624302
shit I can one page that in PHP in like 30 minutes, time me faggot
>>56624302
>>56624314
> http://www.digitaltrends.com/mobile/plext-app/
Done?
>>56624314
"done"; there is no form validation and this could obviously be done more concisely, but I just wanted a quick break from what I was doing<?php
// temperature converter
$temp;
$scale;
$newtemp;
$oldscale;
if(isset($_POST['temp'])) {
$temp = $_POST['temp'];
}
if(isset($_POST['scale'])) {
$scale = $_POST['scale'];
if($scale == 'F'){
$newtemp = ($temp * 1.8) + 32;
$oldscale = 'C';
}
else {
$newtemp = ($temp - 32)/1.8 ;
$oldscale = 'F';
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Temperature Converter</title>
</head>
<body>
<?php
if(isset($oldscale)){
echo '<center><h1>' . $temp . ' ' . $oldscale . ' is equal to ' . $newtemp . ' ' . $scale . '</h1></center>';
}
?>
<form action="" method="post" />
<fieldset>
<label class="col-md-4 control-label" for="textinput">Convert</label>
<input id="textinput" name="temp" placeholder="(temperature)" type="text" >
<label class="col-md-4 control-label" for="selectbasic"> to</label>
<select id="selectbasic" name="scale" class="form-control">
<option value="F">Fahrenheit</option>
<option value="C">Celsius</option>
</select>
<button id="singlebutton" name="singlebutton" class="btn btn-primary">Convert</button>
</fieldset>
</form>
</body>
</html>
>>56624359
yeah, it's not an original idea, just something to throw in my github. Launchcode is attempting to place me in a front end dev job and I need to show I can actually do anything
>>56624612
already noticed a couple mistakes.
-left Bootstrap formatting in a few form fields
-$scale is always set because there is no null option
my bad guys i failed you
revision A<?php
// temperature converter
$temp;
$scale;
$newtemp;
$oldscale;
if(isset($_POST['temp'])) {
$temp = $_POST['temp'];
}
if(isset($_POST['scale'])) {
$scale = $_POST['scale'];
if($scale == 'F'){
$newtemp = ($temp * 1.8) + 32;
$oldscale = 'C';
}
else {
$newtemp = ($temp - 32)/1.8 ;
$oldscale = 'F';
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Temperature Converter</title>
</head>
<body>
<?php
if($scale != '') {
echo '<center><h1>' . $temp . ' ' . $oldscale . ' is equal to ' . $newtemp . ' ' . $scale . '</h1></center>';
}
?>
<form action="" method="post" />
<fieldset>
<label>Convert</label>
<input name="temp" placeholder="(temperature)" type="text" />
<label> to</label>
<select name="scale" class="form-control">
<option value="">Select</option>
<option value="F">Fahrenheit</option>
<option value="C">Celsius</option>
</select>
<button id="singlebutton" name="singlebutton" class="btn btn-primary">Convert</button>
</fieldset>
</form>
</body>
</html>
I'll make it perfect next time I need a break
>name generator
alright thenname=$(shuf -n 1 /usr/share/dict/words)
echo $name | sed "s/'s\$//;"'s/^\(.\{'$(((RANDOM % (${#name}-1))+1))'\}\)./\1'$(tr -cd a-z < /dev/urandom | head -c$((1+RANDOM%4)) )/
>>56626393
I like this one
>>56624270
Finished a project a couple of minutes ago.
Rolling for some more!