conventions.io

Tech Challenge

2026-10-19

⚛️

Daily Tech Challenge

React

medium
Question 1 of 5

This component is written exactly as it would be in plain HTML, with the <img> tag left open. What happens when the project is compiled?

Example
function Avatar({ url }) {
  return (
    <div className="avatar">
      <img src={url} alt="User avatar">
    </div>
  );
}

Monday, October 19, 2026 · A new challenge drops every day