index.js 683 Bytes
Newer Older
zhanghaozhe committed
1 2
import React, { Component } from "react"
import "./index.scss"
zhanghaozhe committed
3 4 5

class Selection extends Component {
  state = {
zhanghaozhe committed
6
    screenshots: [
7 8 9
      "https://cdn.julyedu.com/mlCourse/m/exercise_1.png",
      "https://cdn.julyedu.com/mlCourse/m/exercise_2.png",
      "https://cdn.julyedu.com/mlCourse/m/exercise_3.png",
zhanghaozhe committed
10
    ],
zhanghaozhe committed
11 12 13 14
  }

  render() {
    return (
zhanghaozhe committed
15
      <div id={"selection"}>
zhanghaozhe committed
16 17
        <h2> /  /  / </h2>
        <ul>
zhanghaozhe committed
18 19 20 21
          {this.state.screenshots.map((item, i) => {
            return (
              <li key={i}>
                <img src={item} alt="" />
zhanghaozhe committed
22
              </li>
zhanghaozhe committed
23 24
            )
          })}
zhanghaozhe committed
25 26
        </ul>
      </div>
zhanghaozhe committed
27
    )
zhanghaozhe committed
28 29 30
  }
}

zhanghaozhe committed
31
export default Selection