2023 You will be copying all the labs thus far into a new folder and creating a web site out | Assignment Collections
Computer Science 2023 Cs Netbean Questions
2023 You will be copying all the labs thus far into a new folder and creating a web site out | Assignment Collections
You will be copying all the labs thus far into a new folder and creating a web site out of all of them (we tried to have them loosely related :).
Create a new folder named lab6 in your cs008 folder Copy your file named lab1.php to the lab6 folder naming it index.php Copy your file named lab2.php to the lab6 folder naming it news.php Copy your file named lab3.php to the lab6 folder naming it contest.php Copy your file named lab4.php to the lab6 folder naming it art.php Copy your file named lab5.php to the lab6 folder naming it weather.php Update your site map with a link to this lab. Edit you css/custom.css file as needed (DO NOT MAKE ANOTHER ONE). Let’s add more stations to our data file. Download the file or use the directions from Lab 5 to go to NOAA. In Step 2, search for Cities instead of Stations and now when you add Burlington, VT to your cart and click View Full Details, the Stations link on the left should display:
- BURLINGTON WEATHER SERVICE OFFICE AIRPORT, VT US
- ESSEX JUNCTION 1 N, VT US
- SOUTH HERO, VT US
- WILLSBORO 1 N, NY US
When you download the file, move it to the lab6 folder and name it weather.csv Make another copy your file named lab5.php to the lab6 folder naming it weather-detail.php Add all the include files (top.php, header.php, nav.php, footer.php) to each of the above files. Edit nav.php to have links to all the files(art, contest, index, news and weather). Your navigation should look like this (alternative it can be horizontal without numbers):
Now it gets tricky (but fun:).
Edit the file weather.php (most of the code is the same we are just modifying the display).
Display a list of the different weather stations (there are four) found in column B. You do this by adding a Flag variable and an IF statement (just like the trees from the lecture notes). Make each weather station a link to weather-detail.php (only page not on the nav because you have to go to weather.php first) sending the name of the weather station in the GET array. Create a page called weather-detail.php (includes top header nav footer of course). In the file weather-detail.php, sanitize the variable containing the value of the weather station. In the file weather-detail.php, Open and Read the csv file weather.csv (think include read-weather-data.php). In the file weather-detail.php, display only the data for that weather station (think if statement in your for each loop). Lab 5 printed the total number of records but in the file weather-detail.php we only display some of the data. Update the count to reflect only the total number of records we print. Run your files in NetBeans which will POST them. Make sure your pages pass w3c Html Validation Make sure your pages pass w3c CSS Validation Submit your assignment in blackboard: upload all files for the assignment, put the url to your site as a comment and anything else you would like to tell the grader.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.