Learn HTML CSS PHP and MySQL Python Flask Physics Chemistry Educational Blog and more...

TEA Educational Blog

Good Question



Tell me a secret Daddy Universe
Stop hiding it from us

You make us much more curious
Sometimes really furious

The longer we wait
The more we ponder:

How did you fashion this mint
This fragrance and finest silk

With which you wrap the fingers
Of all women?

They turn men wild and out of order
Making them drunk without liquor

No matter how young, strong or spent
They turn their necks

Break their backs
Fracture their hips

And return home broke
Just for a touch of feminine fingers?

The Universe smiles, softly saying
“Son, I'm a woman.”


By Professor Moyo Okediji... [Continue Reading]


Good Question
I was called Iron Lady for being a successful woman – Prof Osofisan (Professor of Computer science)
New Black studies curriculum to launch in NYC schools this fall
Education is not a scam; it is immensely rewarding
What you tell yourself always persists in your life
More Blog
Lessons

First PHP Program

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

To program our PHP web application, we need to first create a new web project in the root directory of our web server.

Create a folder for our website in the root
Step1.
For windows users, go to the XAMPP server root directory on your computer C:\xampp\htdocs\
if you are a linux user, your physical root directory would be /home/user/lampstack/apache2/htdocs

Step2. 
Create a new folder name it test in this directory.

Step3. 
Open the folder and create a file inside it name index.php
Although ... [Continue Reading]


Control flow (Branching)

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Is use to control the flow of our program.

The programs we have written so far had executed sequentially, however logic demands that if our program is to be useful it must perform some task based on some conditions. For example if age is above 18, if score is greater than 70, if user is registered or gender is male (if, else if, else statement). OR execute a task over a period of time based on some conditions and patterns. For example generate even number between 1 and 2000 (for and while loop)

If, Else If, Else Statement
Conditional statement or branchin... [Continue Reading]


Delete record using PHP

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

We use the DELETE SQL statement to delete record from a table.

syntax
DELETE FROM table_name WHERE id = record_id


Example
DELETE FROM feedback WHERE id = 3


However the record_id e.g 3 will not be hardcoded like this, just as we did with edit, we will introduce a "Delete" link and the link will send the id number to the code for deleting.

Here is the code (I have remove the pagination section to make the code focus on deleting, I will provide a GitHub link below to download the all code)... [Continue Reading]


Getting Started with HTML

Course: Introduction to HTML and Web Technology
Number of topics: 8
Category: Programming

HTML (Hypertext Markup Language) is the backbone of any web page. It is used to structure the content of a webpage and is essential for creating websites. Here's a step-by-step guide to getting started with HTML:

Set Up Your Environment: To create HTML documents, you'll need a text editor. You can use basic text editors like Notepad (Windows) or TextEdit (Mac), but specialized code editors like Visual Studio Code, Notepad++, Sublime Text and Atom provide features that make coding easier. Make sure you have one of these editors installed on your computer.

Cre... [Continue Reading]


A Complete Web Development Guide. Northell

Course: Programming (Pdf Materials)
Number of topics: 2
Category: Programming

Our society is becoming more and more computerized.

There are around 3.58 billion internet users on the planet. This implies that over half of the world's 7.6 billion people have access to the internet, which they use for everything from entertainment to education, communication to commerce, keeping up with current events, and keeping up with business experts. Indeed, for many of us, the internet is the first (and often only) channel through which we communicate with the world in all of its complexities.

Because there are so many resources available, determining the b... [Continue Reading]


More on Loops with Python

Course: Python Programming
Number of topics: 11
Category: Programming

Loop can be logically and creatively use to make programming more useful and interactive.

Example 1
You are ask to write a program to calculate the average score of n number of students.

Because the number of students is unknown you can ask the user to input the number of students you want to process there score, and use this to execute the loop to compute the average.


#prompt use to enter number
n=int(input("Enter the number of students you want to compute their result "))

totalscore=0
averagescore=0
count=1

while count<=n:
  ...
[Continue Reading]


Render Templates in Flask

Course: Flask: Python Web Development
Number of topics: 16
Category: Programming

With time you will find it more convenient to separate your frontend code (HTML, CSS, JS) from your backend code (Python and Flask) because it can easily get messy as your project grows.

You may already have your web pages designed with HTML and CSS so Flask comes with Jinja template to allow your app to pass and receive data from your flask (backend) application and this frontend web pages, this is known as "separation of concern".

Templates and Static folder
Flask expect us to create some folders with some specific names to handle the structure of our ... [Continue Reading]


See all courses



Making the Most of Life: A Journey to Purpose
Category: Business
Number of topics: 7
Posted by: David Mba

General African Studies (GST 201)
Category: Business
Number of topics: 1
Posted by: David Mba

GST 102
Category: Business
Number of topics: 17
Posted by: David Mba

Use of English
Category: Arts
Number of topics: 0
Posted by: Samson Dawodu Abiodun

African Artists and Drawing
Category: Arts
Number of topics: 8
Posted by: Benjamin Onuorah

Flask: Python Web Development
Category: Programming
Number of topics: 16
Posted by: Benjamin Onuorah

Chemistry with Dr. Anita
Category: Science
Number of topics: 10
Posted by: Sir John Jollynery

Physics
Category: Science
Number of topics: 17
Posted by: Sir John Jollynery

Programming (Pdf Materials)
Category: Programming
Number of topics: 2
Posted by: Benjamin Onuorah

Programming (Video Materials)
Category: Programming
Number of topics: 1
Posted by: Benjamin Onuorah

Web development using PHP and MySQL
Category: Programming
Number of topics: 27
Posted by: Benjamin Onuorah

Python Programming
Category: Programming
Number of topics: 11
Posted by: Benjamin Onuorah

Styling (Beautify) Website
Category: Programming
Number of topics: 2
Posted by: Benjamin Onuorah

Introduction to HTML and Web Technology
Category: Programming
Number of topics: 8
Posted by: Benjamin Onuorah

Supported by

Flag Counter