skip to Main Content

Reactjs – How can we repeat a pattern of elements using for loop and input info on array in jsx by also including CSS classes and tags?

<div> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> A </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> B </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> C </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> D </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> E </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> F </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> G </label> <label className='tag'><BsFillCheckCircleFill className="tag-icon"/> H…

VIEW QUESTION
Back To Top
Search