Skip to content

Contains all the daily outputs as per the assignments of the Andela35 program

Notifications You must be signed in to change notification settings

dxania/Andela35

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Andela35

Contains all the daily outputs as per the assignments of the Andela35 program

Google Landing Page

Google landing page built with HTML for the display, CSS for styling and Javascript for interactivity. Media-queries used for responsiveness.

Features

A user can type in content to the search box and receive the what they typed in a modal box. If a user clicks the search button without typing anything, they receive an error message.

Deployement

Hosted on Git Hub pages this link.

Object oriented programming

Classes to illustrate OOP using python

Features

Pets class that holds instances of dogs Dog class (does not inherit from the Pets class); saved in the pets_class.py file which holds:

  1. Three dog instances assigned to an instance of the Pets class.
  2. Instance attribute is_hungry = True.
  3. Method called eat() which changes the value of is_hungry to False when called. The final output looks like this:
I have 3 dogs. 
Tom is 6. 
Fletcher is 7. 
Larry is 9. 
And they're all mammals, of course. 
My dogs are not hungry.

Method called walk() in both the Pets and Dog classes so that when you call the method on the Pets class, each dog instance assigned to the Pets class will walk(); saved in the dogs_walking.py file. The output looks like this:

Tom is walking!
Fletcher is walking!
Larry is walking!

Test Driven Development

Python files to illustrate TDD with pytest

Data Structures

About

Contains all the daily outputs as per the assignments of the Andela35 program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published