Random Color Generator - Part 1
Structured HTML
CSS styling
JS DOM & events
EXP:
40

Random Color Generator - Part 1

Enhance the reliability of a random color generator to consistently produce valid six-digit hex codes

Welcome, developers! Your task is to create a random color generator that generates random hex color of millions of colors.


Task for students

  • Must to have
    • The id of the Click Me button should be 'btn'.
    • The id, of the place where random hex code will generate on button clicking, should be 'color'.
  • Functionality tested
    • Should generate the random hex code on clicking Click Me button.

UI reference & demo
  • Use the given provided code and try to mirror the UI.


Evaluation
  • After submission, your solution will be evaluated automatically based on the tasks defined above.
  • Upon successful completion of all the tasks/requirements, you will get a full score, and there will not be any partial scoring.
  • You can work on your failed test cases & resubmit your solution.
  • Your problem will get evaluated instantly.

Do’s & don’t
  • Use the given code structure in editor and do not make any changes.
  • Do not modify existing classes or tags.
  • Focus on correct HTML structure and class names.

Query & feedback
  • In case of any query/feedback on this project, please fill this form & we will soon get in touch with you to resolve.

Best of luck, developers! We are eager to see your random color generator project!