python |
Pythonタグが付けられた新着投稿 - Qiita |
ABC C - 1-SAT から学んだ |
https://qiita.com/AKpirion/items/5c787dcd99a4cb6cbb4b
|
ABCCSATから学んだんー、何とかなりそうかも。 |
2021-09-13 23:45:30 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
PyTorch の Define by Run を可視化 |
https://qiita.com/nt__yji/items/29f77a31607525c909b6
|
PyTorchのDefinebyRunを可視化DeepLearningフレームワークにおける計算グラフTensorFlowPyTorchなどのDeepLearningフレームワークにおける計算グラフの構築方法が大きく分けてパターンに分類される。 |
2021-09-13 23:21:40 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
AtCoder 218_d SetとListの違いの復習 |
https://qiita.com/meowmeowcats/items/d7de19f7daea06ff6732
|
AtCoderdSetとListの違いの復習はじめにこの記事は、以下の問題の復習記事ですAtCoderdRectangleいつもの感覚でListで処理したらTLE、解説ACでSetで処理したら通るので、どのくらい違うのか疑問に思って調べました。 |
2021-09-13 23:10:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonデータ分析の前処理カンニングシート(PandasのDataFrameのデータ確認やデータ置換する用) |
https://qiita.com/kakiuchis/items/eaef873550389fea851c
|
dfカラム名カラム名dfiloc列目のカラムを表示dfiloc列目のカラムを表示指定したカラムを表示、出力はSeries型dfカラム名dfiloc列目のカラムを表示特定のセルのデータを確認するDataFrame型で指定のセルを表示dflocカラム名行目の指定したカラム列のみ表示dfiloc行目の列目のみ表示指定のセルの値のみ出力dflocカラム名行目の指定したカラム列のみ表示dflocカラム名行目の指定したカラム列のみ表示dfatカラム名行目の指定したカラム列のみ表示dfiloc行目の列目のみ表示dfiat行目の列目のみ表示特定の範囲のデータを確認する行目と行目のデータの指定したカラム列のみ表示dflocカラム名カラム名行目のデータのの指定したカラム列のみ表示dflocカラム名カラム名行目と行目のデータの、列目と列目のカラム列のみ表示dfiloc行目の列目のカラム列のみ表示dfilocデータ全体の特徴量を確認するDataFrameの行数と列数を出力dfshape各カラムのデータ数Null出ないデータ数とデータタイプを出力dfinfo各カラムのデータ数、平均、標準偏差、最小、最大、四分位を出力dfdescribedfshapeで調べたレコード行数と、dfinfoで調べたカラム別のデータ数の差分から、ブランク数とそのカラムを特定するという手法が便利。 |
2021-09-13 23:05:28 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
虚数が実数から現れる時(惑星の軌道編) |
https://qiita.com/hibit/items/5f0fe46ca09cdb79598f
|
すると以下のようになります。 |
2021-09-13 23:05:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
モーダルでno DOM elements that are currently on the page. Make sure the element exists on the page before |
https://teratail.com/questions/359343?rss=all
|
モーダルでnoDOMelementsthatarecurrentlyonthepageMakesuretheelementexistsonthepagebeforeVuejsと決済APIのStripeを用いて決済処理を実装しています。 |
2021-09-13 23:50:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ffmpegを使用したコードでの(.py)と(.ipynb)の実行結果の違いについて |
https://teratail.com/questions/359342?rss=all
|
ffmpegを使用したコードでのpyとipynbの実行結果の違いについてVSCODEを使用してffmpegによるファイルの扱いについて勉強しています。 |
2021-09-13 23:45:26 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
インストールしたRuby On Rails がターミナルを終了、再起動すると消えてしまいます |
https://teratail.com/questions/359341?rss=all
|
インストールしたRubyOnRailsがターミナルを終了、再起動すると消えてしまいます前提・実現したいこと「改訂版基礎RubynbsponnbspRails」というテキストをもとに、WindowsにWLSUbuntuを入れ、RubyとRubynbsponnbspRailsをインストールしました。 |
2021-09-13 23:29:38 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【VBA】Outlookの指定フォルダの昨日のメールを.txtで名前を付け保存したい |
https://teratail.com/questions/359340?rss=all
|
【VBA】Outlookの指定フォルダの昨日のメールをtxtで名前を付け保存したい解決したいことOutlookで指定フォルダ内の昨日のメールをtxtで名前付けて保存するVBAを組みたいのですが、うまくメールアイテムを保存できません。 |
2021-09-13 23:25:30 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
初心者がGemについて解釈する! |
https://qiita.com/TAKAHIRO__M/items/d24fdc848b45784f4c4e
|
そもそもGemとは初心者なりにわかりやすく噛み砕いていこうと思いますGemとは結論は、GemはRubyのライブラリと言うことですRubyGemsにはたくさんのライブラリがあり、それぞれをGemと呼ぶ。 |
2021-09-13 23:40:50 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
kaminari gemってorderの位置で取得順変わるの? |
https://qiita.com/ituo_engine/items/825aecdc94859a1bf392
|
どういうことかというと、次のつって実行結果同じなのという話。 |
2021-09-13 23:38:58 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
windowsでDockerコマンドのailiasを設定する方法 |
https://qiita.com/nishikawa1031/items/888fdb6bd9763f38c9c6
|
コマンドマクロを使用する・・dsitemsdbcbebadaWindowsではコマンドマクロという機能を使用して、aliasと同じ設定が可能。 |
2021-09-13 23:45:54 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Oracle Linux OS(or any arm64)にdocker compose v2を入れる方法 |
https://qiita.com/tomocrafter/items/82b3e0c129b02dd9255e
|
OracleLinuxOSoranyarmにdockercomposevを入れる方法はじめに自分自身がOracleLinuxOSにdockercomposeをインストールするのに手間取ったので備忘録も兼ねて書いておきます。 |
2021-09-13 23:31:00 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【備忘】DynamoDBの確認に使うコマンド&ローカルで操作する際の気づき |
https://qiita.com/Quasar9/items/83a6b0151f6826cd3afb
|
【備忘】DynamoDBの確認に使うコマンドampローカルで操作する際の気づきDynamoDBをローカルで操作する際のコマンドDockerを使ってローカルでDynamoDBを操作する際に使ったコマンドを備忘として書きます。 |
2021-09-13 23:14:48 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
転職活動管理アプリを作ろう③(ログイン実装チュートリアル~テーブル定義) |
https://qiita.com/soso555/items/89acdd45e88d0e0251f1
|
一旦String配列で持ったあと、createAuthorityListでGrantedAuthorityのList化チュートリアル中だと、WebSecurityConfiguserDetailsServiceのUserroleUSERで実行される上記初期スキーマの内容で十分なので、このままテーブルを作成する作成日、最終更新日ぐらいは追加しておくちなみにorgspringframeworksecuritycoreuserdetailsUserエンティティクラスを提供してくれているので、使い方はJavadocを参照実装する際には一応継承して自作クラスを使用しようね役割DBにテーブルは作らないenum型にして静的に持つことにした取り得る値は以下ROLEUSER一般ユーザーROLEADMIN管理者今の所、各役割で動作の振る舞いは変わらない。 |
2021-09-13 23:09:26 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
Git コマンド(メモ) |
https://qiita.com/moru0606/items/1bfccf6970d7da1a1455
|
|
2021-09-13 23:31:10 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
初心者がGemについて解釈する! |
https://qiita.com/TAKAHIRO__M/items/d24fdc848b45784f4c4e
|
そもそもGemとは初心者なりにわかりやすく噛み砕いていこうと思いますGemとは結論は、GemはRubyのライブラリと言うことですRubyGemsにはたくさんのライブラリがあり、それぞれをGemと呼ぶ。 |
2021-09-13 23:40:50 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
rails かしこさ |
https://qiita.com/kyforprogram/items/806b237224528d514d3c
|
|
2021-09-13 23:29:29 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Railsの標準設定のエラーについて |
https://qiita.com/kazu628/items/a27cddf0993b19445811
|
Railsの標準設定のエラーについてRailstutorial章学習中に躓いてしまったので今後のために記事にしてみます。 |
2021-09-13 23:17:37 |
技術ブログ |
Developers.IO |
[React] 画面タッチによるピンチズーム操作を無効にする |
https://dev.classmethod.jp/articles/react-disable-pinch-zoom-by-screen-touch/
|
react |
2021-09-13 14:50:23 |
海外TECH |
DEV Community |
How to make an e-commerce website with HTML, CSS and JS |
https://dev.to/kunaal438/how-to-make-an-e-commerce-website-with-html-css-and-js-3aon
|
How to make an e commerce website with HTML CSS and JSHello Today in this article we ll learn to create an e commerce website using HTML CSS and JS This is a part of full stack e commerce website In this part we ll only create front end page s UI We ll create pages in this tutorial Home page Project Page Search Page and page To see demo or you want full coding tutorial video for better understanding You can watch the tutorial below Video TutorialI appreciate if you can support me by subscribing my youtube channel CodeYou can see below our project s folder structure Download Images Get Source CodeSo let s start coding Home PageWrite basic HTML template in index html And link home css file to index file Now create navbar lt nav class navbar gt lt div class nav gt lt img src img dark logo png class brand logo alt gt lt div class nav items gt lt div class search gt lt input type text class search box placeholder search brand product gt lt button class search btn gt search lt button gt lt div gt lt a href gt lt img src img user png alt gt lt a gt lt a href gt lt img src img cart png alt gt lt a gt lt div gt lt div gt lt nav gt Open home css file And inside it before start styling As we ll have same navbar and footer in all pages I thought of making their styles as a separate file So import nav js file inside home css import nav css And do navbar related styles inside nav css Nav css margin padding box sizing border box font family roboto sans serif navbar position sticky top left width background fff z index nav padding px vw display flex justify content space between brand logo height px nav items display flex align items center search width px display flex search box width height px padding px border top left radius px border bottom left radius px border px solid ddd text transform capitalize background none color aaa outline none search btn width height px padding px px border none outline none cursor pointer background color fff text transform capitalize font size px border top right radius px border bottom right radius px search box placeholder color aaa nav items a margin left px nav items a img width px OutputNow create links below the navbar lt ul class links container gt lt li class link item gt lt a href class link gt home lt a gt lt li gt lt li class link item gt lt a href class link gt women lt a gt lt li gt lt li class link item gt lt a href class link gt men lt a gt lt li gt lt li class link item gt lt a href class link gt kids lt a gt lt li gt lt li class link item gt lt a href class link gt accessories lt a gt lt li gt lt ul gt Above code is inside navbar element links container width display flex padding px vw justify content center list style none border top px solid ddd link text transform capitalize padding px margin px text decoration none color opacity transition s link hover opacity OutputGreat but as we want navbar in all pages I am don t like to copy the code So let s make this navbar with JS dynamically Open nav js file And make a createNav function inside it const createNav gt let nav document querySelector navbar nav innerHTML lt div class nav gt lt img src img dark logo png class brand logo alt gt lt div class nav items gt lt div class search gt lt input type text class search box placeholder search brand product gt lt button class search btn gt search lt button gt lt div gt lt a href gt lt img src img user png alt gt lt a gt lt a href gt lt img src img cart png alt gt lt a gt lt div gt lt div gt lt ul class links container gt lt li class link item gt lt a href class link gt home lt a gt lt li gt lt li class link item gt lt a href class link gt women lt a gt lt li gt lt li class link item gt lt a href class link gt men lt a gt lt li gt lt li class link item gt lt a href class link gt kids lt a gt lt li gt lt li class link item gt lt a href class link gt accessories lt a gt lt li gt lt ul gt createNav If you see the above code Inside the function first I am selecting nav element using querySelector method And then writing its HTML using innerHTML And the value of innerHTML is the same HTML elements that we have made in index html file You can now remove the HTML elements from there and also import nav js lt nav class navbar gt lt nav gt lt script src js nav js gt lt script gt OutputNow let s make its header lt hero section gt lt header class hero section gt lt div class content gt lt img src img light logo png class logo alt gt lt p class sub heading gt best fashion collection of all time lt p gt lt div gt lt header gt Home css import nav css hero section width height calc vh px background image url img header png background size cover display flex justify content center align items center hero section logo height px display block margin auto hero section sub heading margin top px text align center color fff text transform capitalize font size px font weight OutputNow we have to make product card slider For that code this lt section class product gt lt h class product category gt best selling lt h gt lt section gt Note we are inside index html file Home css product position relative overflow hidden padding px product category padding vw font size px font weight margin bottom px text transform capitalize OutputNow make product card inside product section lt div class product container gt lt div class product card gt lt div class product image gt lt span class discount tag gt off lt span gt lt img src img card png class product thumb alt gt lt button class card btn gt add to whislist lt button gt lt div gt lt div class product info gt lt h class product brand gt brand lt h gt lt p class product short des gt a short line about the cloth lt p gt lt span class price gt lt span gt lt span class actual price gt lt span gt lt div gt lt div gt more cards lt div gt We ll make these product cards with JS and database dynamically later Home css product container padding vw display flex overflow x auto scroll behavior smooth product container webkit scrollbar display none product card flex auto width px height px margin right px product image position relative width height px overflow hidden product thumb width height px object fit cover discount tag position absolute background fff padding px border radius px color ffdd right px top px text transform capitalize card btn position absolute bottom px left transform translateX padding px width text transform capitalize border none outline none background fff border radius px transition s cursor pointer opacity product card hover card btn opacity card btn hover background efefef product info width height px padding top px product brand text transform uppercase product short des width height px line height px overflow hidden opacity text transform capitalize margin px price font weight font size px actual price margin left px opacity text decoration line through OutputNow make pre and next button of course before product container element lt button class pre btn gt lt img src img arrow png alt gt lt button gt lt button class nxt btn gt lt img src img arrow png alt gt lt button gt pre btn nxt btn border none width vw height position absolute top display flex justify content center align items center background linear gradient deg rgba fff cursor pointer z index pre btn left transform rotate deg nxt btn right pre btn img nxt btn img opacity pre btn hover img nxt btn hover img opacity OutputNow let s make the slider working Open home js file And code this const productContainers document querySelectorAll product container const nxtBtn document querySelectorAll nxt btn const preBtn document querySelectorAll pre btn productContainers forEach item i gt let containerDimenstions item getBoundingClientRect let containerWidth containerDimenstions width nxtBtn i addEventListener click gt item scrollLeft containerWidth preBtn i addEventListener click gt item scrollLeft containerWidth In the above code I am simply selecting all product containers next buttons pre buttons using querySelectorAll method And then just looping through each container And adding click event to next button and pre button Import the home js file inside index html lt script src js home js gt lt script gt We are done with product cards also Let s make collections section now lt collections gt lt section class collection container gt lt a href class collection gt lt img src img women collection png alt gt lt p class collection title gt women lt br gt apparels lt p gt lt a gt lt a href class collection gt lt img src img men collection png alt gt lt p class collection title gt men lt br gt apparels lt p gt lt a gt lt a href class collection gt lt img src img accessories collection png alt gt lt p class collection title gt accessories lt p gt lt a gt lt section gt collection container width display grid grid template columns repeat fr grid gap px collection position relative collection img width height object fit cover collection p position absolute top left transform translate text align center color fff font size px text transform capitalize collection nth child grid column span margin bottom px OutputNow you can copy the product section more times after collection element And you can also change the images and data Don t worry we ll make the cards dynamically with database in future After done copying product section The only thing left in our page is footer So let s make it lt footer gt lt div class footer content gt lt img src img light logo png class logo alt gt lt div class footer ul container gt lt ul class category gt lt li class category title gt men lt li gt lt li gt lt a href class footer link gt t shirts lt a gt lt li gt lt li gt lt a href class footer link gt sweatshirts lt a gt lt li gt lt li gt lt a href class footer link gt shirts lt a gt lt li gt lt li gt lt a href class footer link gt jeans lt a gt lt li gt lt li gt lt a href class footer link gt trousers lt a gt lt li gt lt li gt lt a href class footer link gt shoes lt a gt lt li gt lt li gt lt a href class footer link gt casuals lt a gt lt li gt lt li gt lt a href class footer link gt formals lt a gt lt li gt lt li gt lt a href class footer link gt sports lt a gt lt li gt lt li gt lt a href class footer link gt watch lt a gt lt li gt lt ul gt lt ul class category gt lt li class category title gt women lt li gt lt li gt lt a href class footer link gt t shirts lt a gt lt li gt lt li gt lt a href class footer link gt sweatshirts lt a gt lt li gt lt li gt lt a href class footer link gt shirts lt a gt lt li gt lt li gt lt a href class footer link gt jeans lt a gt lt li gt lt li gt lt a href class footer link gt trousers lt a gt lt li gt lt li gt lt a href class footer link gt shoes lt a gt lt li gt lt li gt lt a href class footer link gt casuals lt a gt lt li gt lt li gt lt a href class footer link gt formals lt a gt lt li gt lt li gt lt a href class footer link gt sports lt a gt lt li gt lt li gt lt a href class footer link gt watch lt a gt lt li gt lt ul gt lt div gt lt div gt lt footer gt As we did for navbar Import footer css inside home css file Home css import nav css import footer css Footer cssfooter position relative width padding px vw padding bottom px background footer content display flex width justify content space between footer content logo height px footer ul container width display flex justify content space between category width px display grid grid template columns repeat fr grid gap px list style none category title grid column span text transform capitalize color fff font size px margin bottom px category footer link text decoration none text transform capitalize color rgba footer link hover color fff OutputMake info elements inside footer lt footer gt previous elements lt p class footer title gt about company lt p gt lt p class info gt Lorem ipsum dolor sit amet consectetur adipisicing elit Repellat tempore ad suscipit eos eius quisquam sed optio nisi quaerat fugiat ratione et vero maxime praesentium architecto minima reiciendis iste quo deserunt assumenda alias ducimus Ullam odit maxime id voluptates rerum tenetur corporis laboriosam Cum error ipsum laborum tempore in rerum necessitatibus nostrum nobis modi Debitis adipisci illum nemo aperiam sed et accusamus ut officiis Laborum illo exercitationem quo culpa reprehenderit excepturi distinctio tempore cupiditate praesentium nisi ut iusto assumenda perferendis facilis voluptas autem fuga sunt ab debitis voluptatum harum eum Asperiores natus Est deserunt incidunt quasi placeat omnis itaque harum lt p gt lt p class info gt support emails help clothing com customersupport clothing com lt p gt lt p class info gt telephone lt p gt lt div class footer social container gt lt div gt lt a href class social link gt terms amp services lt a gt lt a href class social link gt privacy page lt a gt lt div gt lt div gt lt a href class social link gt instagram lt a gt lt a href class social link gt facebook lt a gt lt a href class social link gt twitter lt a gt lt div gt lt div gt lt p class footer credit gt Clothing Best apparels online store lt p gt lt footer gt Footer css footer title info color rgba margin px text transform capitalize footer title margin top px color fff footer social container margin top px display flex justify content space between social link color fff margin left px text transform capitalize social link nth child margin left footer credit width padding px position absolute left bottom text align center color fff background rgba OutputGreat Work As we did for navbar Let s make this footer also with JS dynamically Open footer js file and do the same thing that we did for navbar const createFooter gt let footer document querySelector footer footer innerHTML lt div class footer content gt lt img src img light logo png class logo alt gt lt div class footer ul container gt lt ul class category gt lt li class category title gt men lt li gt lt li gt lt a href class footer link gt t shirts lt a gt lt li gt lt li gt lt a href class footer link gt sweatshirts lt a gt lt li gt lt li gt lt a href class footer link gt shirts lt a gt lt li gt lt li gt lt a href class footer link gt jeans lt a gt lt li gt lt li gt lt a href class footer link gt trousers lt a gt lt li gt lt li gt lt a href class footer link gt shoes lt a gt lt li gt lt li gt lt a href class footer link gt casuals lt a gt lt li gt lt li gt lt a href class footer link gt formals lt a gt lt li gt lt li gt lt a href class footer link gt sports lt a gt lt li gt lt li gt lt a href class footer link gt watch lt a gt lt li gt lt ul gt lt ul class category gt lt li class category title gt women lt li gt lt li gt lt a href class footer link gt t shirts lt a gt lt li gt lt li gt lt a href class footer link gt sweatshirts lt a gt lt li gt lt li gt lt a href class footer link gt shirts lt a gt lt li gt lt li gt lt a href class footer link gt jeans lt a gt lt li gt lt li gt lt a href class footer link gt trousers lt a gt lt li gt lt li gt lt a href class footer link gt shoes lt a gt lt li gt lt li gt lt a href class footer link gt casuals lt a gt lt li gt lt li gt lt a href class footer link gt formals lt a gt lt li gt lt li gt lt a href class footer link gt sports lt a gt lt li gt lt li gt lt a href class footer link gt watch lt a gt lt li gt lt ul gt lt div gt lt div gt lt p class footer title gt about company lt p gt lt p class info gt Lorem ipsum dolor sit amet consectetur adipisicing elit Repellat tempore ad suscipit eos eius quisquam sed optio nisi quaerat fugiat ratione et vero maxime praesentium architecto minima reiciendis iste quo deserunt assumenda alias ducimus Ullam odit maxime id voluptates rerum tenetur corporis laboriosam Cum error ipsum laborum tempore in rerum necessitatibus nostrum nobis modi Debitis adipisci illum nemo aperiam sed et accusamus ut officiis Laborum illo exercitationem quo culpa reprehenderit excepturi distinctio tempore cupiditate praesentium nisi ut iusto assumenda perferendis facilis voluptas autem fuga sunt ab debitis voluptatum harum eum Asperiores natus Est deserunt incidunt quasi placeat omnis itaque harum lt p gt lt p class info gt support emails help clothing com customersupport clothing com lt p gt lt p class info gt telephone lt p gt lt div class footer social container gt lt div gt lt a href class social link gt terms amp services lt a gt lt a href class social link gt privacy page lt a gt lt div gt lt div gt lt a href class social link gt instagram lt a gt lt a href class social link gt facebook lt a gt lt a href class social link gt twitter lt a gt lt div gt lt div gt lt p class footer credit gt Clothing Best apparels online store lt p gt createFooter Now you can delete the footer elements from the the index file And import the footer js file index html lt footer gt lt footer gt lt script src js footer js gt lt script gt OutputGreat We are done with homepage Now let s create product page Product page In product page Write HTML template And link home css product css file lt head gt lt link rel stylesheet href css home css gt lt link rel stylesheet href css product css gt lt head gt And import these JS files lt script src js nav js gt lt script gt lt script src js footer js gt lt script gt lt script src js home js gt lt script gt lt script src js product js gt lt script gt And now you can just make a navbar and footer by adding nav and footer element inside body lt nav class navbar gt lt nav gt lt footer gt lt footer gt OutputIsn t that simple You can also copy the product container element from home page to here After done copy the cards Let s make product detail section Make it after navbar lt section class product details gt lt div class image slider gt lt div class product images gt lt img src img product image png class active alt gt lt img src img product image png alt gt lt img src img product image png alt gt lt img src img product image png alt gt lt div gt lt div gt lt section gt Product css product details width padding px vw display flex justify content space between image slider width px height px position relative background image url img product image png background size cover product images position absolute bottom px left transform translateX width background fff border radius px display grid grid template columns repeat fr height px grid gap px padding px product images img width height px object fit cover cursor pointer product images img active opacity OutputMake details section in the right now lt section gt image slider lt div class details gt lt h class product brand gt calvin klein lt h gt lt p class product short des gt Lorem ipsum dolor sit amet consectetur adipisicing elit lt p gt lt span class product price gt lt span gt lt span class product actual price gt lt span gt lt span class product discount gt off lt span gt lt p class product sub heading gt select size lt p gt lt input type radio name size value s checked hidden id s size gt lt label for s size class size radio btn check gt s lt label gt lt input type radio name size value m hidden id m size gt lt label for m size class size radio btn gt m lt label gt lt input type radio name size value l hidden id l size gt lt label for l size class size radio btn gt l lt label gt lt input type radio name size value xl hidden id xl size gt lt label for xl size class size radio btn gt xl lt label gt lt input type radio name size value xxl hidden id xxl size gt lt label for xxl size class size radio btn gt xxl lt label gt lt button class btn cart btn gt add to cart lt button gt lt button class btn gt add to wishlist lt button gt lt div gt lt section gt details width details product brand text transform capitalize font size px details product short des font size px line height px height auto margin px px product price font weight font size px product actual price font size px opacity text decoration line through margin px font weight product discount color ffdd font size px product sub heading font size px text transform uppercase margin px px font weight size radio btn display inline block width px height px text align center font size px border px solid border radius margin px margin left line height px text transform uppercase color cursor pointer size radio btn check background color fff btn width padding px border radius px background none border px solid color font size px cursor pointer margin px text transform capitalize cart btn margin right background color fff OutputNow just a simple section we have to make A detail description section Make is outside product details lt section class detail des gt lt h class heading gt description lt h gt lt p class des gt Lorem ipsum dolor sit amet consectetur adipisicing elit Veniam lt p gt lt section gt detail des padding vw text transform capitalize heading font size px margin bottom px des color line height px OutputNow make the image slider working and size button toggle able Open product js file const productImages document querySelectorAll product images img selecting all image thumbsconst productImageSlide document querySelector image slider seclecting image slider elementlet activeImageSlide default slider imageproductImages forEach item i gt loopinh through each image thumb item addEventListener click gt adding click event to each image thumbnail productImages activeImageSlide classList remove active removing active class from current image thumb item classList add active adding active class to the current or clicked image thumb productImageSlide style backgroundImage url item src setting up image slider s background image activeImageSlide i updating the image slider variable to track current thumb And then code this toggle size buttonsconst sizeBtns document querySelectorAll size radio btn selecting size buttonslet checkedBtn current selected buttonsizeBtns forEach item i gt looping through each button item addEventListener click gt adding click event to each sizeBtns checkedBtn classList remove check removing check class from the current button item classList add check adding check class to clicked button checkedBtn i upading the variable Great Work we are done with product page also Now we have to make search page which is very simple Search PageAs we made navbar and footer in the product page Do the same for this page also Link these files to it lt head gt lt link rel stylesheet href css home css gt lt link rel stylesheet href css search css gt lt head gt lt body gt lt nav class navbar gt lt nav gt lt footer gt lt footer gt lt script src js nav js gt lt script gt lt script src js footer js gt lt script gt lt body gt Now make the product cards First make the heading lt section class search results gt lt h class heading gt search results for lt span gt product lt span gt lt h gt lt section gt Search css search results width padding px heading font size px text transform capitalize font weight margin bottom px padding vw heading span font weight OutputFor cards we ll use the same card we made for homepage Just copy the product container element from homepage and paste it inside search results But we are using flex box which will make the cards go side by side But we don t want that for our search page So just over write the product container elements property Product css product container display grid grid template columns repeat fr height auto grid row gap px OutputNow we are almost done The only page we have to create is page PageDo the same for this page also to make navbar I didn t made footer in this page but if you want you can make it too After making navbar Link css file And let s code the page lt img src img png class four four image alt gt lt p class four four msg gt look like you are lost Head to beack to our lt a href gt homepage lt a gt lt p gt Footer css four four image display block margin px auto four four msg text align center text transform capitalize color four four msg a color OutputSo that s sit for today Great work I know it was a lot But e commerce website is not that simple Don t forget to follow me on youtube and dev to if you don t want to miss the next part of this series I hope you understood each and everything If you have doubt or I missed something let me know in the comments Articles you may find UsefulBest CSS EffectInfinte CSS loaderDisney CloneYoutube API Youtube CloneTMDB Netflix CloneI really appreciate if you can subscribe my youtube channel I create awesome web contents Source Code Donate me on PaypalYour donation really motivates me to do more amazing tutorials like this Support me on patreon Buy me a coffee Donate me on paypalThanks For reading |
2021-09-13 14:45:49 |
海外TECH |
DEV Community |
MongoDB $weeklyUpdate (September 13, 2021): Latest MongoDB Tutorials, Events, Podcasts, & Streams! |
https://dev.to/mongodb/mongodb-weeklyupdate-september-13-2021-latest-mongodb-tutorials-events-podcasts-streams-4h03
|
MongoDB weeklyUpdate September Latest MongoDB Tutorials Events Podcasts amp Streams Hi everyone Welcome to MongoDB weeklyUpdate Here you ll find the latest developer tutorials upcoming official MongoDB events and get a heads up on our latest Twitch streams and podcast curated by Adrienne Tacke Enjoy Freshest Tutorials on DevHubWant to find the latest MongoDB tutorials and articles created for developers by developers Look no further than our DevHub Migrating Your iOS App s Realm Schema in ProductionAndrew MorganThis tutorial will step you through updating an existing mobile app to add some new features that require changes to the schema Triggers Treats and Tricks Cascade Document Delete Using Triggers PreimagePavel DuchovnyIn this article we will show you how to use a preimage feature to perform cascading relationship deletes via a trigger based on the deleted parent document Currency Analysis with Time Series Collections ーSimple Moving Average and Exponential Moving Average CalculationFuat SungurIn this article we ll learn how the moving average can be calculated on time series data Currency Analysis with Time Series Collections ーGenerating Candlestick Charts DataFuat SungurTime series collections part generating data for a candlestick chart from time series data Official MongoDB EventsAttend an official MongoDB event near you virtual for now Chat with MongoDB experts learn something new meet other developers and win some swag Sep PM GMT Global Learning with Luce Structure your data with Schema Validation in MongoDBSep PM GMT Nairobi Kenya MongoDB Community Mini Workshop in KisumuSep PM GMT Global Things Lauren Learned While Modeling Data in MongoDBSep PM GMT Global MongoDB Atlas mit Ansible automatisieren MongoDB on Twitch amp YouTubeWe stream tech tutorials live coding and talk to members of our community via Twitch and YouTube Sometimes we even stream twice a week Be sure to follow us on Twitch and subscribe to our YouTube channel to be notified of every stream Latest StreamFollow us on Twitch so you never miss a stream Last Word on the MongoDB PodcastLatest EpisodeCatch up on past episodes Ep Speaking at Your Next Tech Conference with Sven PetersEp Thinking Diagnostically with Danny HatcherEp Saving Lives and Improving Fire Rescue with Tablet Command and MongoDB Not listening on Spotify We got you We re most likely on your favorite podcast network including Apple Podcasts PlayerFM Podtail and Listen Notes MongoDB DevRel around the InterwebzWatch our team do their thang at various conferences meetups and podcasts around the world virtually for now Also find external articles and guest posts from our DevRel team here Upcoming ConferencesSep ServerlessDays ParisSep DevOps World Online Adrienne will be joining remotely to give her popular Multi Cloud Magic talk These weeklyUpdates are always posted to the MongoDB Community Forums first Sign up today to always get first dibs on these weeklyUpdates and other MongoDB announcements interact with the MongoDB community and help others solve MongoDB related issues |
2021-09-13 14:23:51 |
海外TECH |
DEV Community |
Edit any GitHub repository on the web without installing anything😱 |
https://dev.to/byteslash/edit-any-github-repository-on-the-web-without-installing-anything-l9c
|
Edit any GitHub repository on the web without installing anythingHey there ️ Github released a new feature recently If you go to any GitHub repository and click on the on your keyboard you will be able to see a web version of Visual Studio Code with the files of that repository Now you can even edit the repository without installing anything You can also install extensions and themes in the web version but make sure that you are signed in to your GitHub account Seeing it in action Useful linksGitHub devVisual Studio Code s video on the dotConnect with me |
2021-09-13 14:10:38 |
Apple |
AppleInsider - Frontpage News |
Amazon slashes AirPods to $114, AirPods Pro $179.99 before Tuesday's Apple Event |
https://appleinsider.com/articles/21/09/13/amazon-slashes-airpods-to-114-airpods-pro-17999-before-tuesdays-apple-event?utm_medium=rss
|
Amazon slashes AirPods to AirPods Pro before Tuesday x s Apple EventNew price drops are hitting AirPods and AirPods Pro at Amazon ahead of tomorrow s Apple Event where new iPhone and Apple Watch hardware is expected to be introduced Pre Apple Event dealsEarly Apple Event deals offer fans anywhere from to off AirPods at Amazon with AirPods Pro back on sale for Read more |
2021-09-13 14:49:28 |
Apple |
AppleInsider - Frontpage News |
Steve Wozniak co-founding new space startup |
https://appleinsider.com/articles/21/09/13/steve-wozniak-co-founding-new-space-startup?utm_medium=rss
|
Steve Wozniak co founding new space startupSteve Wozniak has co founded Privateer Space a new company designed to keep space safe and accessible though very few details have been released Steve WozniakFamed Apple co creator Steve Wozniak has now co created a new company but so far has only teased what Privateer Space is meant to do A Private space company is starting up he announced on Twitter unlike the others Read more |
2021-09-13 14:35:44 |
Apple |
AppleInsider - Frontpage News |
Thinka founder Michael Franken, Meross air purifier & more on HomeKit Insider |
https://appleinsider.com/articles/21/09/13/thinka-founder-michael-franken-meross-air-purifier-more-on-homekit-insider?utm_medium=rss
|
Thinka founder Michael Franken Meross air purifier amp more on HomeKit InsiderThinka founder Michael Franken joins the latest episode of HomeKit Insider to discuss the company s new Z Wave hub for HomeKit and more Recently Meross launched its new air purifier in the U S joining Molekule VOCOlinc SmartMi among others This new tabletop device is listed on Amazon though it is out of stock at the moment Aqara made headlines as well announcing it would be supporting Matter in and that they ve launched on Amazon in France Read more |
2021-09-13 14:11:29 |
海外TECH |
Engadget |
AirPods Pro drop back down to $180 at Amazon |
https://www.engadget.com/apple-airpods-pro-drop-back-down-to-180-at-amazon-141009759.html?src=rss
|
AirPods Pro drop back down to at AmazonIf you missed last week s sale on AirPods Pro you have another opportunity to grab them at close to a record low price Apple s advanced wireless earbuds are down to again on Amazon thanks to an automatically applied coupon that knocks off the buds sale price While we do expect to learn more about new regular AirPods during Apple s event tomorrow it s unclear if we ll see a brand new version of the Pros Buy AirPods Pro at Amazon These are Apple s most powerful earbuds and we gave them a score of when they first came out Yes it s been nearly two years since then but the AirPods Pro remain the best wireless earbuds for those with iPhones That s due in part to how easily they pair and switch between Apple devices thanks to the H chip inside the buds a piece of tech that also enables hands free Siri access Connecting the AirPods Pro to your iPhone for the first time is a quick and seamless process and after that you can go from listening to music on your Mac to taking a call on your iPhone with little hassle The AirPods Pro also have a better fitting design than standard AirPods although that could change if Apple announces an updated model of its standard buds tomorrow The Pros support ANC and Transparency Mode which lets you hop in and out of conversations easily and they support spatial audio along with Apple Music s new Dolby Atmos format And if you want a pair of AirPods with wireless charging the Pros are a good option because unlike regular AirPods their case has wireless charging support by default If you re more concerned about getting the latest earbuds Apple has to offer it s worth it to wait until after tomorrow s event to see what the company has in store However if you re more concerned about your budget this sale on the AirPods Pro is one of the best we ve seen in recent months Follow EngadgetDeals on Twitter for the latest tech deals and buying advice |
2021-09-13 14:10:09 |
海外科学 |
NYT > Science |
Unraveling the Mysteries Hidden in Vast Glacier Caves |
https://www.nytimes.com/2021/09/13/travel/glacier-caves.html
|
Unraveling the Mysteries Hidden in Vast Glacier CavesA group of scientists and adventure athletes are venturing into icy labyrinths to study their relationships with glacial melting and climate change |
2021-09-13 14:17:16 |
海外科学 |
NYT > Science |
How California's Recall Vote Could Affect the State's Climate Policies |
https://www.nytimes.com/2021/09/08/climate/california-recall-newsom-climate.html
|
How California x s Recall Vote Could Affect the State x s Climate PoliciesMany Republicans vying to replace Newsom as governor want to roll back the state s ambitious plans to cut planet warming emissions a change with nationwide implications |
2021-09-13 14:18:05 |
金融 |
RSS FILE - 日本証券業協会 |
会員の決算概況 |
https://www.jsda.or.jp/shiryoshitsu/toukei/kessan/index.html
|
決算 |
2021-09-13 15:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
J-IRISS |
https://www.jsda.or.jp/anshin/j-iriss/index.html
|
iriss |
2021-09-13 15:41:00 |
金融 |
金融庁ホームページ |
職員を募集しています。(金融モニタリング業務に従事する職員) |
https://www.fsa.go.jp/common/recruit/r3/souri-07/souri-07.html
|
Detail Nothing |
2021-09-13 15:40:00 |
ニュース |
BBC News - Home |
Covid: More than 300,000 suspected of breaking quarantine rules |
https://www.bbc.co.uk/news/uk-politics-58517123?at_medium=RSS&at_campaign=KARANGA
|
booster |
2021-09-13 14:17:57 |
ニュース |
BBC News - Home |
Universal Credit: Cut is two hours extra work for claimants, says Therese Coffey |
https://www.bbc.co.uk/news/uk-politics-58547881?at_medium=RSS&at_campaign=KARANGA
|
labour |
2021-09-13 14:54:37 |
ニュース |
BBC News - Home |
Afghanistan: UN seeks millions in international aid |
https://www.bbc.co.uk/news/world-asia-58542451?at_medium=RSS&at_campaign=KARANGA
|
taliban |
2021-09-13 14:39:16 |
ニュース |
BBC News - Home |
Primark says leggings still popular as comfort rules |
https://www.bbc.co.uk/news/business-58542840?at_medium=RSS&at_campaign=KARANGA
|
clothes |
2021-09-13 14:33:28 |
ニュース |
BBC News - Home |
Emma Raducanu: US Open champion on resilience, celebrations and pleasing her parents |
https://www.bbc.co.uk/sport/tennis/58545870?at_medium=RSS&at_campaign=KARANGA
|
Emma Raducanu US Open champion on resilience celebrations and pleasing her parentsAs Emma Raducanu basks in her new found New York fame she explains where she found the mental strength to win a Grand Slam title |
2021-09-13 14:40:46 |
ニュース |
BBC News - Home |
Women's Super League: ‘It’s a blatant handball’ - How Tottenham beat Man City with a controversial winner |
https://www.bbc.co.uk/sport/av/football/58547991?at_medium=RSS&at_campaign=KARANGA
|
Women x s Super League It s a blatant handball How Tottenham beat Man City with a controversial winnerWatch as Tottenham forward Rosella Ayane helps grab a controversial late winner in the Women s Super League which Man City boss Gareth Taylor describes as a blatant handball |
2021-09-13 14:49:25 |
ニュース |
BBC News - Home |
Covid vaccine: How many people in the UK have been vaccinated so far? |
https://www.bbc.co.uk/news/health-55274833?at_medium=RSS&at_campaign=KARANGA
|
country |
2021-09-13 14:15:05 |
北海道 |
北海道新聞 |
大坂なおみは5位に後退 女子テニス世界ランキング |
https://www.hokkaido-np.co.jp/article/588850/
|
世界ランキング |
2021-09-13 23:06:00 |
コメント
コメントを投稿