0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

課題1の序盤で既に分からず!

0
Posted at

見出し

学習記録アプリの一覧表示

動画見て取り組んだのに2段階目からもう挫かれた!!!!( ; ; )

動画を見返してもわからず、Qiitaでほとんど見てやりました。。。
mapのところあたり全然分からず、

title.rb

import React from "react";
import ReactDOM from "react-dom/client";

const records = [
  { title: "勉強の記録1", time: 1 },
  { title: "勉強の記録2", time: 3 },
  { title: "勉強の記録3", time: 5 },
];

function App() {
  return (
    <div>
      <h1>学習記録一覧</h1>
      <ul>
        {records.map((record, index) => (
          <li key={index}>
            {record.title}:{record.time}時間
          </li>
        ))}
      </ul>
    </div>
  );
}

export default App;

今日調べて学んだこと
基礎的なことを何度も聞いている状況

スクリーンショット 2026-05-18 18.21.44.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?