2022-10-10Web300

Lesson 2: Welcome to Remix! Simple Storage

⌨️ (02:01:16) Lesson 2: Welcome to Remix! Simple Storage

💻 Code: https://github.com/PatrickAlphaC/simple-storage-fcc

Introduction

Setting Up Your First Contract

2022-10-10Web300

此篇文章版权属于@毛超颖 所有。其他媒体、网站或个人转载使用时不得进行商业性的原版原式的转载,也不得歪曲和篡改本网站所发布的内容。 由于本人也是刚入圈的小白,如有错误,欢迎指正~

学习视频:系统学习区块链、Solidity和前后端全栈Web3开发

License声明:

// SPDX-License-Identifier: MIT

指定版本:

pragma solidity ^0.8.0;

导入其他合约

import './SimpleStorage.sol';

继承

contract ExtraStorage is SimpleStorage{
    function store(uint256 _favoriteNumber) public override {
        favoriteNumber = _favoriteNumber + 3;
    }
}
2022-10-08大厂面经00

作业帮一面

  • 时间: 下午2:30分
  • 时长: 1小时
自我介绍,了解项目
css盒模型
内联元素,块元素,内联-块元素,举例?
闭包题目
var a = 1;
function F () {
    console.log(a);
    var a = 2;
    console.log(this.a);
    this.a = 3;
}
F();  // undefined, 1
new F(); // undefined, undefined;
2022-10-08大厂面经00

星环科技

  • 时长: 20分钟
  • 形式: 电话
css如何实现一个三角形
如何让溢出的文本实现省略号?
text-overflow: ellipsis;
如何实现固定行数的文本,溢出的省略号?
.text-overflow(@lines) when (@lines > 1) {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: @lines;
    -webkit-box-orient: vertical;
    white-space: normal;
}