4Geeks Coding Projects tutorials and exercises for people learning to code or improving their coding skills
Difficulty
beginnerRepository
Click to openVideo
Click to openLive demo
Not available
Average duration
4 hrs
Technologies
Disneyland for procrastinators and lazy people.
This project is ideal for avoiding someone annoying, it takes no more than 20 lines of code and it can save you for the rest of your life!
We wanted a project that uses very little Javascript but still with a very fun application. The excuse generator takes 20 lines of code, is super simple to understand and is the perfect first project for any beginner developer.
Please create a small website that generates an excuse each time a button is pressed, it has to look like this: Checkout the demo animation.
How can we generate an excuse? How are sentences build?
The idea is to generate each part of the sentence randomly to come up with great excuses!
Do not clone this repository.
The first step to start coding is cloning the vanillajs boilerplate on your local computer or gitpod.
a) If using Gitpod (recommended) you can clone the boilerplate by clicking here.
b) If working locally type the following command from your command line: git clone https://github.com/4GeeksAcademy/vanillajs-hello
.
💡 Important: Remember to create a new repository, update the remote (git remote set-url origin <your new url>
), and upload the code to your new repository using add
, commit
and push
.
1 <p id="excuse">My dog ate my homework</p>
1let who = ['The dog','My grandma','His turtle','My bird']; 2let action = ['ate','peed','crushed','broke']; 3let what = ['my homework', 'the keys', 'the car']; 4let when = ['before the class','right on time','when I finished','during my lunch','while I was praying'];
HTML, CSS3, Javascript, Webpack.
This exercise covers the following fundamentals:
4Geeks Coding Projects tutorials and exercises for people learning to code or improving their coding skills
Difficulty
beginnerRepository
Click to openVideo
Click to openLive demo
Not available
Average duration
4 hrs
Technologies