morning-challenge
v1.0.1
Published
A series of javascript challenges for Founders & Coders students to learn web dev skills.
Downloads
7
Maintainers
Readme
Morning Challenge
Each morning we will have a new challenge posted in this repository.
An html file with the day's date will contain a failing test.
The challenge is understand the problem (ask questions if unclear!)
and make the test pass by writing just enough code.
These challenges aren't meant to be "easy", they are solvable with Google and Teamwork skills.
Setup
Clone this repo:
git clone https://github.com/foundersandcoders/morning-challenge.git && cd morning-challenge
#### install the (node.js) dependencies:
npm install
If you have any trouble installing node or the dependencies, shout!
#### Start the Static Server
npm start
If you get an error, let us know. You wont' be able to make any progress without this working.
Wednesday 23nd September 2015 /20150923/index.html
"Like A Boss"
Tuesday 22nd September 2015 /20150922/index.html
"Like A Boss"
Your challenge today is to (programatically) search through the
DOM
of in the 20150922/index.html
page and find the article title containing the word "Boss".
Start the static server npm start
and then visit: http://localhost:8000/20150922/
You should expect to see something like this in your browser:
Now open the file: 20150922/index.html
in your editor
and
write the findTitleContainingWord()
function that passes the test!
If the challenge is unclear, ask for clarification: https://github.com/foundersandcoders/morning-challenge/issues If the solution is not apparent to you, dust off your google/teamwork skills!