随笔分类 -  前端

摘要:效果图: ##JS部分代码: <script> var input,containe; window.onload = function(){ input = document.getElementById('input'); container = document.getElementById( 阅读全文
posted @ 2020-06-18 20:06 HelloBytes 阅读(959) 评论(0) 推荐(0)
摘要:JS,HTML代码如下: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="css/style02.css" /> </h 阅读全文
posted @ 2020-06-11 03:27 HelloBytes 阅读(75) 评论(0) 推荐(0)
摘要:尝试了一下百度的API 在线发音,代码如下: <body> <div id="wordDiv"> <audio src="http://tts.baidu.com/text2audio?lan=en&ie=UTF-8&text=hello" id="word">hi</audio> <button 阅读全文
posted @ 2020-06-08 23:29 HelloBytes 阅读(591) 评论(1) 推荐(0)