Crafting Unique and Customizeable Websites is my Passion

Crafting Unique and Customizeable Websites is my Passion

hero frame

Project Details

URL: http://old.hempel-joel.at

Website/App: Personal Weblog/Website

Main Language: Core PHP

Other Languages: Bootstrap/CSS, jQuery/JavaScript, SQL/PDO, HTML

Server: Apacha/lampp

Database: MySQL

Frontend:  Dynamic Content, Forms

  • Front-Page
  • Index
  • Blogposts: rating-form + Disqus comment plugin
  • Login Page
  • Contact Page: contact form + captcha

Backend: App Administration

  • update, delete & edit/create new posts

API: Disqus

Level: Beginner

Purpose: Professional Website

Online Business Card and Blog – Summary

This is my previous Online Business Card and Blog and the first project as a web developer I’ve published on the internet. I used Bootstrap and CSS for the layout. I chose to keep the design simple and focus on functionality and clarity. For the same reason, I will mostly focus on the PHP parts in this article. Please note that this article will only cover the main parts of the code and requires some basic knowledge of PHP to be understood.

Frontend

Online Business Card and Blog
Figure 1.0: Frontpage
weblog - blog page
Figure 1.1:Blog Index Page

Frontpage

As previously mentioned, I used Bootstrap/CSS to styled the layout of the frontend. The Online Business Card and Blog Front Page has 3 sections. Section 1 carries some basic information about myself. Section 2 contains a short introduction to my qualifications as a web developer and five boxes with collapsible content:

coding skill boxes
Figure 2.0: Coding Skills Boxes

By clicking on each of those, a short text, describing the coding skill corresponding to the logo on the box, is shown.

Creating such a box in Bootstrap is very easy. the only things needed is the .collapse class, the data-toggle=’collapse’ & data-target=’#id’ attribute and an id for the collapsible text-container. For this case see the code above:

Figure 2.1: Collapsed Coding Skill Box
<div class="card bg-dark" title="php">
    <div id="php" class=" text-center w-100 rounded-top pt-2" 
       data-toggle="collapse" data-target="#phptext" >
        <span><i class="fab fa-php d-block mx-auto "></i></span>
        <span><i class="fas fa-sort-down mt-0 mb-2"></i></span>
    </div>
        <div class="card-body collapse" id="phptext">...
    </div>
</div>
Basic Collapsible explained

the class=’collapse’ indicates a collapsible element. The attribute data-toggle=’collapse’ controls the collapsible content, while data-target=’#phptext’ targets the div -element with the id=’phptext’ – that contains the collapsible content

be the first to share shared this post

Leave a Reply

Your email address will not be published. Required fields are marked *

top frame
freebie picture
STAY TUNED &
SUBSCRIBE

Sign up to my mailing list and receive occasional updates, new bogposts, freebies, giveaways and more



    Terms of privacy and data protection



    Get in Touch

    Feel free to send me a message. I'll gladly respond to all your requests.