Skip to content

Ernitahutagaol/DinosaurFootprints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinosaur Footprints Generator This simple JavaScript program generates dinosaur footprints in the console.

How to Use

  1. Clone this repository to your local machine. 2 .Navigate to the directory where you cloned the repository.
  2. Open the index.js file in your favorite text editor.
  3. Run the printDinosaurFootprints() function in your browser console or in a Node.js environment to see the dinosaur footprints.

Description The program consists of two main parts:

Functionality The printDinosaurFootprints() function is responsible for printing the dinosaur and its footprints in the console. It iterates over both arrays and prints each line of the dinosaur followed by some space and then the corresponding line of the footprint. This creates the illusion of the dinosaur leaving footprints.

About

Dinosaur Footprints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published