Sub Tag
Lets get started with <sub> tag!
Welcome, developers! Your goal is to write the chemical formula of water inside the span with class "html-code". Refer to the screenshots provided below.
Task for students
- Must to have
- Write your solution inside the : span tag with class html-code
- the letter should be wrapped with a span tag with class "alphabet"
- the subscript number should be wrapped within an opening & closing <sub> tag
UI reference
- Use the given provided code and try to mirror the UI.
- Initial
- Final
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!