1
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?

More than 1 year has passed since last update.

Reactアプリ100本ノックやってみた 「01 Hello World」

Last updated at Posted at 2023-11-27

はじめに

フロントエンドに苦手意識のある私が、@Sicut_studyさんの【Reactアプリ100本ノック】をやってみました。
変なところがあれば教えていただきたいです。

今回の課題

やってみる

App.tsx
import styled from "styled-components";

const SDiv = styled.div`
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
`;


const App = () => {
  return (
    <SDiv>
      <p>Hello World</p>
    </SDiv>
  );
};

export default App;

完成

image.png

おわりに

フロントエンド相当苦手なのか、「画面中央ってどうやるんだ…」とさっぱりわからなかったです。私のような初心者の方の励みになったらうれしいです。一緒に頑張りましょう。

1
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
1
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?