You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
lee 7b30ef2edf fix(harder-bigger-bolder-stronger): add right css file to html 1 year ago
..
README.md fix(dom-subjects): renaming css files to data.css files 1 year ago
harder-bigger-bolder-stronger.data.css fix(dom-subjects): renaming css files to data.css files 1 year ago
harder-bigger-bolder-stronger.html fix(harder-bigger-bolder-stronger): add right css file to html 1 year ago

README.md

Harder, bigger, bolder, stronger

Instructions

Being stuck at home, bored, desperate and coming up with a lot of weird ideas, a friend asks you to develop a tool to measure his ocular skills. One of those Monoyer charts that ophthalmologists use.

Generate a board where each new letter is harder, bigger, bolder and stronger.

Write the function generateLetters which creates 120 div elements, each containing a letter randomly picked through the uppercase alphabet, and whose style properties have to be increased:

  • each letter's font-size has to grow from 11 to 130 pixels.
  • font-weight has to be 300 for the first third of the letters, 400 for the second third, and 600 for the last third.

Files

You only need to create & submit the JS file harder-bigger-bolder-stronger.js. We're providing you the following file to download and test locally:

Notions