Posted on

A landpage for a school in Php

A landpage for a school - Php:


//function to display the school name
function displaySchoolName() {
  echo "School of Net";

//function to display the school address
function displaySchoolAddress() {
  echo "Rua dos Bobos, 0";

//function to display the school phone number
function displaySchoolPhoneNumber() {
  echo "(11) 99999-9999";

//function to display the school email
function displaySchoolEmail() {
  echo "[email protected]";

//function to display the school logo
function displaySchoolLogo() {
  echo "<img src='http://www.schoolofnet.com/wp-content/uploads/2016/08/logo_retina.png' alt='School of Net' />";

//function to display the school slogan
function displaySchoolSlogan() {
  echo "Aprenda a programar com a gente!";

//function to display the school social networks links
function displaySchoolSocialNetworks() {
  echo "<a href='https://www.facebook.com/schoolofnetcom' target='_blank'>Facebook</a>";
  echo "<a href='https://twitter.com/schoolofnet' target='_blank'>Twitter</a>";
  echo "<a href='https://plus.google.com/+schoolofnet' target='_blank'>Google+</a>";

Enter fullscreen mode Exit fullscreen mode

Top comments (0)